Skip to content
Snippets Groups Projects
Commit 19baba67 authored by Chris Lattner's avatar Chris Lattner
Browse files

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

from last night.

llvm-svn: 24427
parent f2807be3
No related branches found
No related tags found
No related merge requests found
...@@ -511,7 +511,7 @@ void SelectionDAGLowering::visitBinary(User &I, unsigned IntOp, unsigned FPOp, ...@@ -511,7 +511,7 @@ void SelectionDAGLowering::visitBinary(User &I, unsigned IntOp, unsigned FPOp,
SDOperand Op1 = getValue(I.getOperand(0)); SDOperand Op1 = getValue(I.getOperand(0));
SDOperand Op2 = getValue(I.getOperand(1)); SDOperand Op2 = getValue(I.getOperand(1));
if (Ty->isInteger()) { if (Ty->isIntegral()) {
setValue(&I, DAG.getNode(IntOp, Op1.getValueType(), Op1, Op2)); setValue(&I, DAG.getNode(IntOp, Op1.getValueType(), Op1, Op2));
} else if (Ty->isFloatingPoint()) { } else if (Ty->isFloatingPoint()) {
setValue(&I, DAG.getNode(FPOp, Op1.getValueType(), Op1, Op2)); setValue(&I, DAG.getNode(FPOp, Op1.getValueType(), Op1, Op2));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment