summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2018-06-26 22:19:48 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2018-06-26 22:19:48 +0000
commitd3b8bdef017c99d1ef74d3fed4056df0c2839267 (patch)
tree1f7a0e78a16cc95838b361ad0aa55b4432ae853a /llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
parent3d87323a7e6702cc28ab27aac932f28cc5d02b4c (diff)
downloadbcm5719-llvm-d3b8bdef017c99d1ef74d3fed4056df0c2839267.tar.gz
bcm5719-llvm-d3b8bdef017c99d1ef74d3fed4056df0c2839267.zip
[JumpThreading] Don't try to rewrite a use if it's already valid.
Summary: When recording uses we need to rewrite after cloning a loop we need to check if the use is not dominated by the original def. The initial assumption was that the cloned basic block will introduce a new path and thus the original def will only dominate the use if they are in the same BB, but as the reproducer from PR37745 shows it's not always the case. This fixes PR37745. Reviewers: haicheng, Ka-Ka Subscribers: hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D48111 llvm-svn: 335675
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud