summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZInstrInfo.td
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:28:26 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:28:26 +0000
commit5dd38de2c20dcf787803f4074690499c5a850471 (patch)
treecb8e381ec3ae2acfc2731161d71a6cd6a4c97f10 /lib/Target/SystemZ/SystemZInstrInfo.td
parent361a78756b35c886aa3d01d3bd40c2adcf56cce2 (diff)
downloadllvm-5dd38de2c20dcf787803f4074690499c5a850471.tar.gz
llvm-5dd38de2c20dcf787803f4074690499c5a850471.tar.bz2
llvm-5dd38de2c20dcf787803f4074690499c5a850471.tar.xz
Revert the commit, it just hides the real bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76045 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZInstrInfo.td')
-rw-r--r--lib/Target/SystemZ/SystemZInstrInfo.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrInfo.td b/lib/Target/SystemZ/SystemZInstrInfo.td
index 9b98ec7119..b0fffdbea4 100644
--- a/lib/Target/SystemZ/SystemZInstrInfo.td
+++ b/lib/Target/SystemZ/SystemZInstrInfo.td
@@ -773,7 +773,8 @@ def : Pat<(SystemZpcrelwrapper tjumptable:$src), (LA64rm tjumptable:$src)>;
def : Pat<(SystemZpcrelwrapper tconstpool:$src), (LA64rm tconstpool:$src)>;
// anyext
-def : Pat<(i64 (anyext GR32:$src)), (MOVZX64rr32 GR32:$src)>;
+def : Pat<(i64 (anyext GR32:$src)),
+ (INSERT_SUBREG (i64 (IMPLICIT_DEF)), GR32:$src, subreg_32bit)>;
// calls
def : Pat<(SystemZcall (i64 tglobaladdr:$dst)), (CALLi tglobaladdr:$dst)>;