aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-01-02 08:46:48 +0000
committerCraig Topper <craig.topper@gmail.com>2012-01-02 08:46:48 +0000
commit53d559641f642bdaf6f76d2b280db754326f48f5 (patch)
tree407019a6d4e30705b3990a51ae9d3fb5364abcab /clang/lib/Frontend/CompilerInvocation.cpp
parentddb10a48fb6a93f636e1a64aba859a5a9c0f2163 (diff)
downloadllvm-53d559641f642bdaf6f76d2b280db754326f48f5.zip
llvm-53d559641f642bdaf6f76d2b280db754326f48f5.tar.gz
llvm-53d559641f642bdaf6f76d2b280db754326f48f5.tar.bz2
Make CanXFormVExtractWithShuffleIntoLoad reject loads with multiple uses. Also make it return false if there's not even a load at all. This makes the code better match the code in DAGCombiner that it tries to match. These two changes prevent some cases where vector_shuffles were making it to instruction selection and causing the older shuffle selection code to be triggered. Also needed to fix a bad pattern that this change exposed. This is the first step towards getting rid of the old shuffle selection support. No test cases yet because there's no way to tell whether a shuffle was handled in the legalize stage or at instruction selection.
llvm-svn: 147428
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions