projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff2fcee
)
Fix an assert compiling MallocBench/gs
author
Chris Lattner
<sabre@nondot.org>
Wed, 26 Oct 2005 18:01:11 +0000
(18:01 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 26 Oct 2005 18:01:11 +0000
(18:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24017
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelLowering.cpp
b/lib/Target/PowerPC/PPCISelLowering.cpp
index 4deff28bf069bd27c663e7e6dcdd825fd9c71362..30525cffd067ea00f694f98850fa15518159caf1 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/
lib/Target/PowerPC/PPCISelLowering.cpp
@@
-217,7
+217,7
@@
SDOperand PPCTargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) {
if (LHS.getValueType() == MVT::f32) // Comparison is always 64-bits
LHS = DAG.getNode(ISD::FP_EXTEND, MVT::f64, LHS);
return DAG.getNode(PPCISD::FSEL, ResVT,
- DAG.getNode(ISD::FNEG,
ResVT
, LHS), TV, FV);
+ DAG.getNode(ISD::FNEG,
MVT::f64
, LHS), TV, FV);
}
SDOperand Cmp;