aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86Instr64bit.td
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-11 17:21:05 +0000
committerDan Gohman <gohman@apple.com>2010-01-11 17:21:05 +0000
commit7e0d64a49c19e8215fe5ddeaee5f509718726c86 (patch)
treeb5e206aa7cc892bef446eb246474791e4dc12d73 /lib/Target/X86/X86Instr64bit.td
parent9e83467baa7f6c2111de133852ac65f8c2237359 (diff)
downloadexternal_llvm-7e0d64a49c19e8215fe5ddeaee5f509718726c86.zip
external_llvm-7e0d64a49c19e8215fe5ddeaee5f509718726c86.tar.gz
external_llvm-7e0d64a49c19e8215fe5ddeaee5f509718726c86.tar.bz2
Pattern top-level operators don't need to be restricted to a
single user. The _su forms are intended for non-top-level nodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Instr64bit.td')
-rw-r--r--lib/Target/X86/X86Instr64bit.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Instr64bit.td b/lib/Target/X86/X86Instr64bit.td
index 6bfa9a6..c6d3274 100644
--- a/lib/Target/X86/X86Instr64bit.td
+++ b/lib/Target/X86/X86Instr64bit.td
@@ -2029,7 +2029,7 @@ def : Pat<(and (srl_su GR32:$src, (i8 8)), (i32 255)),
(EXTRACT_SUBREG (i32 (COPY_TO_REGCLASS GR32:$src, GR32_ABCD)),
x86_subreg_8bit_hi))>,
Requires<[In64BitMode]>;
-def : Pat<(srl_su GR16:$src, (i8 8)),
+def : Pat<(srl GR16:$src, (i8 8)),
(EXTRACT_SUBREG
(MOVZX32_NOREXrr8
(EXTRACT_SUBREG (i16 (COPY_TO_REGCLASS GR16:$src, GR16_ABCD)),