[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Nov 19 10:40:54 PST 2005



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.102 -> 1.103
---
Log message:

Unbreak codegen of bools.  This should fix the llc/jit/llc-beta failures
from last night.


---
Diffs of the changes:  (+1 -1)

 SelectionDAGISel.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.102 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.103
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.102	Fri Nov 18 18:36:38 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Sat Nov 19 12:40:42 2005
@@ -511,7 +511,7 @@
   SDOperand Op1 = getValue(I.getOperand(0));
   SDOperand Op2 = getValue(I.getOperand(1));
 
-  if (Ty->isInteger()) {
+  if (Ty->isIntegral()) {
     setValue(&I, DAG.getNode(IntOp, Op1.getValueType(), Op1, Op2));
   } else if (Ty->isFloatingPoint()) {
     setValue(&I, DAG.getNode(FPOp, Op1.getValueType(), Op1, Op2));






More information about the llvm-commits mailing list