summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZInstrInfo.td
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:24:41 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:24:41 +0000
commit75eef89ddbaed0783bb926bc15a426c27b9a4bc3 (patch)
tree86dbdb28551cd4b73b7f81704c3717d62a4b742a /lib/Target/SystemZ/SystemZInstrInfo.td
parent1ada84daaf34ea8e30e5dcb8a7970416606fdd83 (diff)
downloadllvm-75eef89ddbaed0783bb926bc15a426c27b9a4bc3.tar.gz
llvm-75eef89ddbaed0783bb926bc15a426c27b9a4bc3.tar.bz2
llvm-75eef89ddbaed0783bb926bc15a426c27b9a4bc3.tar.xz
Lower anyext to zext, 32-bit stuff does not have any implicit zero-extension side effects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZInstrInfo.td')
-rw-r--r--lib/Target/SystemZ/SystemZInstrInfo.td3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrInfo.td b/lib/Target/SystemZ/SystemZInstrInfo.td
index b883cdd531..5672b048d2 100644
--- a/lib/Target/SystemZ/SystemZInstrInfo.td
+++ b/lib/Target/SystemZ/SystemZInstrInfo.td
@@ -773,8 +773,7 @@ def : Pat<(SystemZpcrelwrapper tjumptable:$src), (LA64rm tjumptable:$src)>;
def : Pat<(SystemZpcrelwrapper tconstpool:$src), (LA64rm tconstpool:$src)>;
// anyext
-def : Pat<(i64 (anyext GR32:$src)),
- (INSERT_SUBREG (i64 (IMPLICIT_DEF)), GR32:$src, subreg_32bit)>;
+def : Pat<(i64 (anyext GR32:$src)), (MOVZX64rr32 GR32:$src)>;
// calls
def : Pat<(SystemZcall (i64 tglobaladdr:$dst)), (CALLi tglobaladdr:$dst)>;