llvm.org GIT mirror llvm / cef254f
New test for svn rev 43033, radar 5538745. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43034 91177308-0d34-0410-b5e6-96231b3b80d8 Dale Johannesen 12 years ago
1 changed file(s) with 19 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=x86
1 ; ModuleID = 'bugpoint-reduced-simplified.bc'
2 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
3 target triple = "i686-apple-darwin9"
4 %struct.wxPoint2DInt = type { i32, i32 }
5
6 define x86_fp80 @_ZNK12wxPoint2DInt14GetVectorAngleEv(%struct.wxPoint2DInt* %this) {
7 entry:
8 br i1 false, label %cond_true, label %UnifiedReturnBlock
9
10 cond_true: ; preds = %entry
11 %tmp8 = load i32* null, align 4 ; [#uses=1]
12 %tmp9 = icmp sgt i32 %tmp8, -1 ; [#uses=1]
13 %retval = select i1 %tmp9, x86_fp80 0xK4005B400000000000000, x86_fp80 0xK40078700000000000000 ; [#uses=1]
14 ret x86_fp80 %retval
15
16 UnifiedReturnBlock: ; preds = %entry
17 ret x86_fp80 0xK4005B400000000000000
18 }