summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
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
commit2acdac0f8e13576d676ab31ea1d147fc953e56fc (patch)
tree3898918fd25a1aca95c238c45455555f36e76b94 /llvm/lib/Target
parent8c18d8972cc8d2bd1e4a1b6d223f9d2a8d0dfd9d (diff)
downloadbcm5719-llvm-2acdac0f8e13576d676ab31ea1d147fc953e56fc.tar.gz
bcm5719-llvm-2acdac0f8e13576d676ab31ea1d147fc953e56fc.zip
Lower anyext to zext, 32-bit stuff does not have any implicit zero-extension side effects
llvm-svn: 76035
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZInstrInfo.td3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZInstrInfo.td b/llvm/lib/Target/SystemZ/SystemZInstrInfo.td
index b883cdd5317..5672b048d20 100644
--- a/llvm/lib/Target/SystemZ/SystemZInstrInfo.td
+++ b/llvm/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)>;
OpenPOWER on IntegriCloud