Treat TargetGlobalAddress as a constant for the purpose of matching pre-inc stores...
authorHal Finkel <hfinkel@anl.gov>
Thu, 21 Jun 2012 20:10:48 +0000 (20:10 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 21 Jun 2012 20:10:48 +0000 (20:10 +0000)
commit2bbc9193b4a9b4e53ec114fd98a587a2917c365b
tree4bd6fed2a1b0f884da9900d3f3875d722494339a
parent343c32a39cb824f612f99b62fc1433ff20e38fb4
Treat TargetGlobalAddress as a constant for the purpose of matching pre-inc stores on PPC.

Thanks to Tobias von Koch for pointing out this problem.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158932 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
test/CodeGen/PowerPC/stwu-gta.ll [new file with mode: 0644]