Index: test/Transforms/ConstProp/X86/calls.ll |
=================================================================== |
--- test/Transforms/ConstProp/X86/calls.ll (revision 0) |
+++ test/Transforms/ConstProp/X86/calls.ll (working copy) |
@@ -1,32 +1,5 @@ |
; RUN: opt < %s -constprop -S | FileCheck %s |
-declare double @cos(double) |
- |
-declare double @sin(double) |
- |
-declare double @tan(double) |
- |
-declare double @sqrt(double) |
-declare double @exp2(double) |
- |
-define double @T() { |
-; CHECK: @T |
-; CHECK-NOT: call |
-; CHECK: ret |
- %A = call double @cos(double 0.000000e+00) |
- %B = call double @sin(double 0.000000e+00) |
- %a = fadd double %A, %B |
- %C = call double @tan(double 0.000000e+00) |
- %b = fadd double %a, %C |
- %D = call double @sqrt(double 4.000000e+00) |
- %c = fadd double %b, %D |
- |
- ; PR9315 |
- %E = call double @exp2(double 4.0) |
- %d = fadd double %c, %E |
- ret double %d |
-} |
- |
define i1 @test_sse_cvt() nounwind readnone { |
; CHECK: @test_sse_cvt |
; CHECK-NOT: call |