summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-05-09 07:33:50 +0000
committerBill Wendling <isanbard@gmail.com>2013-05-09 07:33:50 +0000
commit5f32469bd4d236a84313580c97085abb385ed605 (patch)
treec6f7527699a374124153e9ab93e6073d6976dca7 /test
parentc7594e48edb1b7a2ec9fc81981e539eac0604905 (diff)
downloadllvm-5f32469bd4d236a84313580c97085abb385ed605.tar.gz
llvm-5f32469bd4d236a84313580c97085abb385ed605.tar.bz2
llvm-5f32469bd4d236a84313580c97085abb385ed605.tar.xz
Merging r181423:
------------------------------------------------------------------------ r181423 | hfinkel | 2013-05-08 05:16:14 -0700 (Wed, 08 May 2013) | 5 lines PPCInstrInfo::optimizeCompareInstr should not optimize FP compares The floating-point record forms on PPC don't set the condition register bits based on a comparison with zero (like the integer record forms do), but rather based on the exception status bits. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_33@181507 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/PowerPC/optcmp.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/optcmp.ll b/test/CodeGen/PowerPC/optcmp.ll
index 1fce464dd3..523f329303 100644
--- a/test/CodeGen/PowerPC/optcmp.ll
+++ b/test/CodeGen/PowerPC/optcmp.ll
@@ -118,7 +118,7 @@ entry:
ret double %cond
; CHECK: @food
-; CHECK: fsub. 0, 1, 2
+; CHECK-NOT: fsub. 0, 1, 2
; CHECK: stfd 0, 0(5)
}
@@ -131,7 +131,7 @@ entry:
ret float %cond
; CHECK: @foof
-; CHECK: fsubs. 0, 1, 2
+; CHECK-NOT: fsubs. 0, 1, 2
; CHECK: stfs 0, 0(5)
}