aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-10-15 17:35:01 +0000
committerHal Finkel <hfinkel@anl.gov>2014-10-15 17:35:01 +0000
commit3b7fc86677aa17fa00ada1db6e33e6e81948b3dc (patch)
tree40c03e4494bab4917241a6c4985335d53e534653 /clang/lib/Frontend/CompilerInvocation.cpp
parent8683d2b0d2deb319d15438d052fe9b6a07f8e65a (diff)
downloadllvm-3b7fc86677aa17fa00ada1db6e33e6e81948b3dc.zip
llvm-3b7fc86677aa17fa00ada1db6e33e6e81948b3dc.tar.gz
llvm-3b7fc86677aa17fa00ada1db6e33e6e81948b3dc.tar.bz2
[SLPVectorize] Basic ephemeral-value awareness
The SLP vectorizer should not vectorize ephemeral values. These are used to express information to the optimizer, and vectorizing them does not lead to faster code (because the ephemeral values are dropped prior to code generation, vectorized or not), and obscures the information the instructions are attempting to communicate (the logic that interprets the arguments to @llvm.assume generically does not understand vectorized conditions). Also, uses by ephemeral values are free (because they, and the necessary extractelement instructions, will be dropped prior to code generation). llvm-svn: 219816
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions