diff options
author | Serguei Katkov <serguei.katkov@azul.com> | 2018-01-09 06:47:14 +0000 |
---|---|---|
committer | Serguei Katkov <serguei.katkov@azul.com> | 2018-01-09 06:47:14 +0000 |
commit | 6a7a4c6a55faef2da7e5f82bdf4c737095114564 (patch) | |
tree | 631c48cf6da9f7bd9b511bcf5a8b4b61e315344e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | bfa48a14ab307995beedf5c81c12addd9f6bc827 (diff) | |
download | bcm5719-llvm-6a7a4c6a55faef2da7e5f82bdf4c737095114564.tar.gz bcm5719-llvm-6a7a4c6a55faef2da7e5f82bdf4c737095114564.zip |
[SCEV] Do not cache S -> V if S is not equivalent of V
SCEV tracks the correspondence of created SCEV to original instruction.
However during creation of SCEV it is possible that nuw/nsw/exact flags are
lost.
As a result during expansion of the SCEV the instruction with nuw/nsw/exact
will be used where it was expected and we produce poison incorreclty.
Reviewers: sanjoy, mkazantsev, sebpop, jbhateja
Reviewed By: sanjoy
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D41578
llvm-svn: 322058
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions