diff options
author | Tom Stellard <[email protected]> | 2012-05-17 13:13:17 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-17 14:48:09 -0400 |
commit | 1fe70c6ae12e85cdb5967ba6d72fca8a9e5c3ec3 (patch) | |
tree | bb323135fba3947ed97e1b67b2dde3499f7ca083 /src/gallium/drivers/radeon/R600ISelLowering.cpp | |
parent | 9916f2d2af18a26f32efb85aff5c11e1b998e19c (diff) |
radeon/llvm: Expand fsub during ISel
Diffstat (limited to 'src/gallium/drivers/radeon/R600ISelLowering.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/R600ISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/R600ISelLowering.cpp b/src/gallium/drivers/radeon/R600ISelLowering.cpp index 4db40f799ed..1fffb99c601 100644 --- a/src/gallium/drivers/radeon/R600ISelLowering.cpp +++ b/src/gallium/drivers/radeon/R600ISelLowering.cpp @@ -34,6 +34,8 @@ R600TargetLowering::R600TargetLowering(TargetMachine &TM) : setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v4f32, Legal); setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v4i32, Legal); setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v4i32, Legal); + + setOperationAction(ISD::FSUB, MVT::f32, Expand); } MachineBasicBlock * R600TargetLowering::EmitInstrWithCustomInserter( |