llvm.org GIT mirror llvm / 190574e
Remove accidentally target-dependent test and pacify bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291004 91177308-0d34-0410-b5e6-96231b3b80d8 Michael Kuperstein 2 years ago
1 changed file(s) with 0 addition(s) and 23 deletion(s). Raw diff Collapse all Expand all
+0
-23
test/Transforms/PartiallyInlineLibCalls/good-prototype.ll less more
None ; RUN: opt -S -partially-inline-libcalls < %s | FileCheck %s
1 ; RUN: opt -S -passes=partially-inline-libcalls < %s | FileCheck %s
2
3 target triple = "x86_64-unknown-linux-gnu"
4
5 define float @f(float %val) {
6 ; CHECK: @f
7 ; CHECK: entry:
8 ; CHECK-NEXT: %[[RES:.+]] = tail call float @sqrtf(float %val) #0
9 ; CHECK-NEXT: %[[CMP:.+]] = fcmp oeq float %[[RES]], %[[RES]]
10 ; CHECK-NEXT: br i1 %[[CMP]], label %[[EXIT:.+]], label %[[CALL:.+]]
11 ; CHECK: [[CALL]]:
12 ; CHECK-NEXT: %[[RES2:.+]] = tail call float @sqrtf(float %val){{$}}
13 ; CHECK-NEXT: br label %[[EXIT]]
14 ; CHECK: [[EXIT]]:
15 ; CHECK-NEXT: %[[RET:.+]] = phi float [ %[[RES]], %entry ], [ %[[RES2]], %[[CALL]] ]
16 ; CHECK-NEXT: ret float %[[RET]]
17 entry:
18 %res = tail call float @sqrtf(float %val)
19 ret float %res
20 }
21
22 declare float @sqrtf(float)