aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/R600
diff options
context:
space:
mode:
authorChristian Konig <christian.koenig@amd.com>2013-03-01 09:46:22 +0000
committerChristian Konig <christian.koenig@amd.com>2013-03-01 09:46:22 +0000
commit0916ac21001b646d5c885225001576e066561fc4 (patch)
treea20ff6436eba76bddb7f113e61bd8bacacac0a72 /lib/Target/R600
parentf4632b58c7df992e77a4be3927e7aa72c1235dff (diff)
downloadexternal_llvm-0916ac21001b646d5c885225001576e066561fc4.zip
external_llvm-0916ac21001b646d5c885225001576e066561fc4.tar.gz
external_llvm-0916ac21001b646d5c885225001576e066561fc4.tar.bz2
R600/SI: remove S_MOV immediate patterns
They won't match anyway. Signed-off-by: Christian König <christian.koenig@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176345 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600')
-rw-r--r--lib/Target/R600/SIInstructions.td14
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td
index af116f0..d9d7b4c 100644
--- a/lib/Target/R600/SIInstructions.td
+++ b/lib/Target/R600/SIInstructions.td
@@ -1305,11 +1305,6 @@ def : Pat <
/********** ================== **********/
def : Pat <
- (i1 imm:$imm),
- (S_MOV_B64 imm:$imm)
->;
-
-def : Pat <
(i32 imm:$imm),
(V_MOV_B32_e32 imm:$imm)
>;
@@ -1320,13 +1315,8 @@ def : Pat <
>;
def : Pat <
- (i32 imm:$imm),
- (S_MOV_B32 imm:$imm)
->;
-
-def : Pat <
- (f32 fpimm:$imm),
- (S_MOV_B32 fpimm:$imm)
+ (i1 imm:$imm),
+ (S_MOV_B64 imm:$imm)
>;
def : Pat <