Unbreak codegen of bools. This should fix the llc/jit/llc-beta failures
authorChris Lattner <sabre@nondot.org>
Sat, 19 Nov 2005 18:40:42 +0000 (18:40 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 19 Nov 2005 18:40:42 +0000 (18:40 +0000)
from last night.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24427 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 9707020040902d670eeedaf50ad7ad397f8492b0..c025c2d4780ac3321ad09e1a5e09911e4c68535a 100644 (file)
@@ -511,7 +511,7 @@ void SelectionDAGLowering::visitBinary(User &I, unsigned IntOp, unsigned FPOp,
   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));