aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorVolkan Keles <vkeles@apple.com>2020-05-18 12:11:46 -0700
committerVolkan Keles <vkeles@apple.com>2020-05-18 12:13:01 -0700
commit63081dc6f642a6be61b3ef213f5c6e257f35671c (patch)
treef11a918f68d9727613f6cc9d0d3f0b26ca336f75 /clang/lib/Frontend/CompilerInvocation.cpp
parent736db2f710367946452f3f705010ada4227352b0 (diff)
downloadllvm-63081dc6f642a6be61b3ef213f5c6e257f35671c.zip
llvm-63081dc6f642a6be61b3ef213f5c6e257f35671c.tar.gz
llvm-63081dc6f642a6be61b3ef213f5c6e257f35671c.tar.bz2
LoadStoreVectorizer: Match nested adds to prove vectorization is safe
If both OpA and OpB is an add with NSW/NUW and with the same LHS operand, we can guarantee that the transformation is safe if we can prove that OpA won't overflow when IdxDiff added to the RHS of OpA. Review: https://reviews.llvm.org/D79817
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions