diff options
author | Tom Stellard <[email protected]> | 2012-05-24 08:37:49 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-24 14:12:32 -0400 |
commit | 9d41a401dcdfda1e3bfdabdedac239ef1d6b93e4 (patch) | |
tree | 62e03f0955f861c09f21770ae5bdbadbb106e1cd /src/gallium/drivers/radeon/AMDILInstrPatterns.td | |
parent | a8ba697c1ec3e07e331cba85e67bf5c2b8d41e57 (diff) |
radeon/llvm: Remove AMDIL FTOI and ITOF instructions
Diffstat (limited to 'src/gallium/drivers/radeon/AMDILInstrPatterns.td')
-rw-r--r-- | src/gallium/drivers/radeon/AMDILInstrPatterns.td | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeon/AMDILInstrPatterns.td b/src/gallium/drivers/radeon/AMDILInstrPatterns.td index 4a78aa1278c..cd01ea4166b 100644 --- a/src/gallium/drivers/radeon/AMDILInstrPatterns.td +++ b/src/gallium/drivers/radeon/AMDILInstrPatterns.td @@ -17,15 +17,9 @@ // unsigned: f32 -> i64 def FTOUL : Pat<(i64 (fp_to_uint GPRF32:$src)), (LCREATE (FTOU GPRF32:$src), (LOADCONST_i32 0))>; -// signed: f32 -> i64 -def FTOL : Pat<(i64 (fp_to_sint GPRF32:$src)), - (LCREATE (FTOI GPRF32:$src), (LOADCONST_i32 0))>; // unsigned: i64 -> f32 def ULTOF : Pat<(f32 (uint_to_fp GPRI64:$src)), (UTOF (LLO GPRI64:$src))>; -// signed: i64 -> f32 -def LTOF : Pat<(f32 (sint_to_fp GPRI64:$src)), - (ITOF (LLO GPRI64:$src))>; // LLVM isn't lowering this correctly, so writing a pattern that // matches it isntead. |