summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMon P Wang <wangmp@apple.com>2008-08-28 21:04:05 +0000
committerMon P Wang <wangmp@apple.com>2008-08-28 21:04:05 +0000
commit5ad0bf658aa1e3df4b15b64647a6f91e0641c294 (patch)
tree68852c95ff169ef1858e7b485a5f6f7e66c8d129 /test
parenta3f8b7a4ce8ab5c46d52077162851105a390a6ac (diff)
downloadllvm-5ad0bf658aa1e3df4b15b64647a6f91e0641c294.tar.gz
llvm-5ad0bf658aa1e3df4b15b64647a6f91e0641c294.tar.bz2
llvm-5ad0bf658aa1e3df4b15b64647a6f91e0641c294.tar.xz
In lowering SELECT_CC, removed cases where we can't flip the true and false when the compare value has a NaN
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55499 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/PowerPC/fnegsel.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/fnegsel.ll b/test/CodeGen/PowerPC/fnegsel.ll
index c223a496ab..62ed4dde07 100644
--- a/test/CodeGen/PowerPC/fnegsel.ll
+++ b/test/CodeGen/PowerPC/fnegsel.ll
@@ -2,7 +2,7 @@
define double @test_FNEG_sel(double %A, double %B, double %C) {
%D = sub double -0.000000e+00, %A ; <double> [#uses=1]
- %Cond = fcmp ogt double %D, -0.000000e+00 ; <i1> [#uses=1]
+ %Cond = fcmp ugt double %D, -0.000000e+00 ; <i1> [#uses=1]
%E = select i1 %Cond, double %B, double %C ; <double> [#uses=1]
ret double %E
}