summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/fnegsel.ll
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
commit1e137300bdbf274ce574a6a57d741dbc07f723af (patch)
tree4536a3a97511f9e3907c4e90b742b3e077293b03 /llvm/test/CodeGen/PowerPC/fnegsel.ll
parentf27e33baa7d883f4545fc304b787f2fae2493a79 (diff)
downloadbcm5719-llvm-1e137300bdbf274ce574a6a57d741dbc07f723af.tar.gz
bcm5719-llvm-1e137300bdbf274ce574a6a57d741dbc07f723af.zip
In lowering SELECT_CC, removed cases where we can't flip the true and false when the compare value has a NaN
llvm-svn: 55499
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/fnegsel.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/fnegsel.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/PowerPC/fnegsel.ll b/llvm/test/CodeGen/PowerPC/fnegsel.ll
index c223a496abd..62ed4dde076 100644
--- a/llvm/test/CodeGen/PowerPC/fnegsel.ll
+++ b/llvm/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
}
OpenPOWER on IntegriCloud