Don't add memory operands to storeRegToStackSlot / loadRegFromStackSlot results,
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 13 Jul 2010 00:23:30 +0000 (00:23 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 13 Jul 2010 00:23:30 +0000 (00:23 +0000)
commit9fac4159ddf65d90ebcccd80a0ba513cd8e95be1
treef876c0b4da400e65af17fba6f1a9d9e376c8b200
parent8f17bc4fbdd68b0c2703515cbf9ae9038fc10e13
Don't add memory operands to storeRegToStackSlot / loadRegFromStackSlot results,
they already have one.

This fixes the himenobmtxpa miscompilation on ARM.

The PostRA scheduler got confused by the double memoperand and hoisted a stack
slot load above a store to the same slot.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108219 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInstrInfoImpl.cpp