summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-09-15 22:09:58 +0000
committerHal Finkel <hfinkel@anl.gov>2013-09-15 22:09:58 +0000
commit40c34781b589374ad4d23470fb06fadcbeeee6d9 (patch)
treed79023bb2cc83078be3f184f9d6293b6cf6df0ac /llvm/lib/Bitcode/Reader/BitcodeReader.h
parent7d6052687e847a1d5d5d51efa571f39adb65ca2e (diff)
downloadbcm5719-llvm-40c34781b589374ad4d23470fb06fadcbeeee6d9.tar.gz
bcm5719-llvm-40c34781b589374ad4d23470fb06fadcbeeee6d9.zip
PPC: Don't restrict lvsl generation to after type legalization
This is a re-commit of r190764, with an extra check to make sure that we're not performing the transformation on illegal types (a small test case has been added for this as well). Original commit message: The PPC backend uses a target-specific DAG combine to turn unaligned Altivec loads into a permutation-based sequence when possible. Unfortunately, the target-specific DAG combine is not always called on all loads of interest (sometimes the routines in DAGCombine call CombineTo such that the new node and users are not added to the worklist); allowing the combine to trigger early (before type legalization) mitigates this problem. Because the autovectorizers only create legal vector types, I don't expect a lot of cases where this optimization is enabled by type legalization in practice. llvm-svn: 190771
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud