diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-10-25 20:40:15 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-10-25 20:40:15 +0000 |
commit | 02f562df43cbf31d63648b4ff22fcfdc0e28d8c7 (patch) | |
tree | b34e4113dcba6b5abc8da9bb4a82a16fcbdfa8df /llvm/lib/Analysis/ScalarEvolutionNormalization.cpp | |
parent | 8bdd1ee0216ff4a11b58eaa744646fc06efdfc35 (diff) | |
download | llvm-02f562df43cbf31d63648b4ff22fcfdc0e28d8c7.zip llvm-02f562df43cbf31d63648b4ff22fcfdc0e28d8c7.tar.gz llvm-02f562df43cbf31d63648b4ff22fcfdc0e28d8c7.tar.bz2 |
LoopVectorizer: Don't attempt to vectorize extractelement instructions
The loop vectorizer does not currently understand how to vectorize
extractelement instructions. The existing check, which excluded all
vector-valued instructions, did not catch extractelement instructions because
it checked only the return value. As a result, vectorization would proceed,
producing illegal instructions like this:
%58 = extractelement <2 x i32> %15, i32 0
%59 = extractelement i32 %58, i32 0
where the second extractelement is illegal because its first operand is not a vector.
llvm-svn: 193434
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolutionNormalization.cpp')
0 files changed, 0 insertions, 0 deletions