diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-19 18:40:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-19 18:40:42 +0000 |
commit | 19baba67b57f5f8414602418ac452281a3122b33 (patch) | |
tree | 1406b46b4a9f20324505c43acbbf23fe2b8c9f83 /llvm/lib | |
parent | f2807be3da7969e8fe3cca291f7e310ccb9e29d9 (diff) | |
download | bcm5719-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.cpp | 2 |
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)); |