OSDN Git Service

ARM: avoid handing a deleted node back to TableGen during ISel.
authorTim Northover <tnorthover@apple.com>
Tue, 2 May 2017 22:45:19 +0000 (22:45 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 2 May 2017 22:45:19 +0000 (22:45 +0000)
commit3d8a34a84be5a9a4c66c8629cde2723b6f423276
tree7060e64aaef33d8b0c4379a3878cc342bed1b9ad
parentdac7487074350039a8e00d0e2fa83f29428a4c3e
ARM: avoid handing a deleted node back to TableGen during ISel.

When we replaced the multiplicand the destination node might already exist.
When that happens the original gets CSEd and deleted. However, it's actually
used as the offset so nonsense is produced.

Should fix PR32726.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301983 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp
test/CodeGen/ARM/load-arm.ll [new file with mode: 0644]