diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-05-02 15:30:07 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-05-02 15:30:07 +0000 |
commit | 5ed242c2402de1acc46ede99bb241a3015cb1613 (patch) | |
tree | a856ca87e112e666ab988a10551bee52dacab8ef /lib/Target/R600 | |
parent | 66bb622cff8b5fa0eb3b036f42eb43853a05ad2e (diff) | |
download | external_llvm-5ed242c2402de1acc46ede99bb241a3015cb1613.zip external_llvm-5ed242c2402de1acc46ede99bb241a3015cb1613.tar.gz external_llvm-5ed242c2402de1acc46ede99bb241a3015cb1613.tar.bz2 |
R600/SI: remove nonsense select pattern
Fortunately this pattern never matched, otherwise
we would have generated incorrect code.
Signed-off-by: Christian K??nig <christian.koenig@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600')
-rw-r--r-- | lib/Target/R600/SIInstructions.td | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index 9faf89b..7caafce 100644 --- a/lib/Target/R600/SIInstructions.td +++ b/lib/Target/R600/SIInstructions.td @@ -1026,18 +1026,11 @@ def S_MAX_U32 : SOP2_32 <0x00000009, "S_MAX_U32", []>; def S_CSELECT_B32 : SOP2 < 0x0000000a, (outs SReg_32:$dst), (ins SReg_32:$src0, SReg_32:$src1, SCCReg:$scc), "S_CSELECT_B32", - [(set (i32 SReg_32:$dst), (select (i1 SCCReg:$scc), - SReg_32:$src0, SReg_32:$src1))] + [] >; def S_CSELECT_B64 : SOP2_64 <0x0000000b, "S_CSELECT_B64", []>; -// f32 pattern for S_CSELECT_B32 -def : Pat < - (f32 (select (i1 SCCReg:$scc), SReg_32:$src0, SReg_32:$src1)), - (S_CSELECT_B32 SReg_32:$src0, SReg_32:$src1, SCCReg:$scc) ->; - def S_AND_B32 : SOP2_32 <0x0000000e, "S_AND_B32", []>; def S_AND_B64 : SOP2_64 <0x0000000f, "S_AND_B64", |