Don't swap the operands of a subtraction when trying to create a
authorBob Wilson <bob.wilson@apple.com>
Thu, 10 Sep 2009 22:09:31 +0000 (22:09 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 10 Sep 2009 22:09:31 +0000 (22:09 +0000)
commit92ad363f58681df785933a75a9b9955f13885e7d
treef22235e3566abdc9927b75204ca0b9771d538ad1
parentdb2659be58a5d9a820eeb5884f284143f6676f86
Don't swap the operands of a subtraction when trying to create a
post-decrement load/store.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81464 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/ARM/2009-09-10-postdec.ll [new file with mode: 0644]