summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Reassociate/fp-commute.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/Reassociate/fp-commute.ll')
-rw-r--r--llvm/test/Transforms/Reassociate/fp-commute.ll19
1 files changed, 0 insertions, 19 deletions
diff --git a/llvm/test/Transforms/Reassociate/fp-commute.ll b/llvm/test/Transforms/Reassociate/fp-commute.ll
deleted file mode 100644
index eac5b5920ac..00000000000
--- a/llvm/test/Transforms/Reassociate/fp-commute.ll
+++ /dev/null
@@ -1,19 +0,0 @@
-; RUN: opt -reassociate -S < %s | FileCheck %s
-
-declare void @use(float)
-
-define void @test1(float %x, float %y) {
-; CHECK-LABEL: test1
-; CHECK: fmul float %x, %y
-; CHECK: fmul float %x, %y
-; CHECK: fsub float %1, %2
-; CHECK: call void @use(float %{{.*}})
-; CHECK: call void @use(float %{{.*}})
-
- %1 = fmul float %x, %y
- %2 = fmul float %y, %x
- %3 = fsub float %1, %2
- call void @use(float %1)
- call void @use(float %3)
- ret void
-}
OpenPOWER on IntegriCloud