summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2013-03-22 14:58:17 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2013-03-22 14:58:17 +0000
commitd1b99d350c5c6d32005b49cfeb22186cbe1132a0 (patch)
tree3fbd13447286f0abc6c20b6c7a2c00f088d1332d /llvm/lib/Target/PowerPC/PPCISelLowering.cpp
parente448badbb1f383d414d77dd889cd9040b5a288c8 (diff)
downloadbcm5719-llvm-d1b99d350c5c6d32005b49cfeb22186cbe1132a0.tar.gz
bcm5719-llvm-d1b99d350c5c6d32005b49cfeb22186cbe1132a0.zip
Tighten iaddroff ComplexPattern.
The iaddroff ComplexPattern is supposed to recognize displacement expressions that have been processed by a SelectAddressRegImm, which means it needs to accept TargetConstant and TargetGlobalAddress nodes. Currently, it erroneously also accepts some other nodes, in particular Constant and PPCISD::Lo. While this problem is currently latent, it would cause wrong-code bugs with a follow-on patch I'm about to commit, so this patch tightens the ComplexPattern. The equivalent change is made in PPCDAGToDAGISel::Select, where pre-inc load patterns are handled (as opposed to store patterns, the loads are handled in C++ code without making use of the .td ComplexPattern). llvm-svn: 177732
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud