summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/R600ISelLowering.cpp
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-05-18 16:58:31 -0400
committerTom Stellard <[email protected]>2012-05-20 16:27:31 -0400
commitcee23ab246f22210b3063cdc47bdb45b3d943526 (patch)
tree14fb8092a9e68a2fce8e65916d7345c23b0e2517 /src/gallium/drivers/radeon/R600ISelLowering.cpp
parent239792fb221556fbc0da6c046541ea078b6944db (diff)
radeon/llvm: Handle selectcc DAG node
R600 can now select instructions from the selectcc DAG node, which is typically lowered to one of the SET* instructions.
Diffstat (limited to 'src/gallium/drivers/radeon/R600ISelLowering.cpp')
-rw-r--r--src/gallium/drivers/radeon/R600ISelLowering.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/R600ISelLowering.cpp b/src/gallium/drivers/radeon/R600ISelLowering.cpp
index 1fffb99c601..05a31d3ff9b 100644
--- a/src/gallium/drivers/radeon/R600ISelLowering.cpp
+++ b/src/gallium/drivers/radeon/R600ISelLowering.cpp
@@ -36,6 +36,13 @@ R600TargetLowering::R600TargetLowering(TargetMachine &TM) :
setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v4i32, Legal);
setOperationAction(ISD::FSUB, MVT::f32, Expand);
+
+#if 0
+
+ setTargetDAGCombine(ISD::Constant);
+ setTargetDAGCombine(ISD::ConstantFP);
+
+#endif
}
MachineBasicBlock * R600TargetLowering::EmitInstrWithCustomInserter(