diff options
Diffstat (limited to 'lib/Target/R600/R600Instructions.td')
-rw-r--r-- | lib/Target/R600/R600Instructions.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/R600/R600Instructions.td b/lib/Target/R600/R600Instructions.td index d4709080af..a9aacd9336 100644 --- a/lib/Target/R600/R600Instructions.td +++ b/lib/Target/R600/R600Instructions.td @@ -1240,10 +1240,10 @@ let Predicates = [isEGorCayman] in { // which do not need to be truncated since the fp values are 0.0f or 1.0f. // We should look into handling these cases separately. def : Pat<(fp_to_sint R600_Reg32:$src0), - (FLT_TO_INT_eg (TRUNC R600_Reg32:$src0))>; + (FLT_TO_INT_eg R600_Reg32:$src0)>; def : Pat<(fp_to_uint R600_Reg32:$src0), - (FLT_TO_UINT_eg (TRUNC R600_Reg32:$src0))>; + (FLT_TO_UINT_eg R600_Reg32:$src0)>; def EG_ExportSwz : ExportSwzInst { let Word1{19-16} = 1; // BURST_COUNT |