summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-19 18:40:42 +0000
committerChris Lattner <sabre@nondot.org>2005-11-19 18:40:42 +0000
commit19baba67b57f5f8414602418ac452281a3122b33 (patch)
tree1406b46b4a9f20324505c43acbbf23fe2b8c9f83 /llvm/lib
parentf2807be3da7969e8fe3cca291f7e310ccb9e29d9 (diff)
downloadbcm5719-llvm-19baba67b57f5f8414602418ac452281a3122b33.tar.gz
bcm5719-llvm-19baba67b57f5f8414602418ac452281a3122b33.zip
Unbreak codegen of bools. This should fix the llc/jit/llc-beta failures
from last night. llvm-svn: 24427
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 97070200409..c025c2d4780 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -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));
OpenPOWER on IntegriCloud