]> granicus.if.org Git - llvm/commit
[SystemZ] Don't drop MO flags in foldMemoryOperandImpl()
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 21 Mar 2017 05:49:40 +0000 (05:49 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 21 Mar 2017 05:49:40 +0000 (05:49 +0000)
commit1853ec1bda1e607b97cf2c490bcd3a3c3e10534d
tree63d846f038ac149ef8c756a0932c801721a12706
parentbbcc0db379f0d3db38fd8ea1a168805807df6a39
[SystemZ]  Don't drop MO flags in foldMemoryOperandImpl()

The def operand of the new LG/LD should have the old def operands
flags and subreg index.

New test: test/CodeGen/SystemZ/fold-memory-op-impl.ll

Review: Ulrich Weigand

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298341 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZInstrInfo.cpp
test/CodeGen/SystemZ/fold-memory-op-impl.ll [new file with mode: 0644]