aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2020-10-27 16:26:07 -0700
committerPeter Collingbourne <peter@pcc.me.uk>2020-10-30 13:23:52 -0700
commit0930763b4baf926a39dd2d0571fd9e2102ec3831 (patch)
treebac73caf96de8982fe55a64b747d7a8a169a8d99 /llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
parentaa1c6b79878475d61c90c0d4c2af17312242f18e (diff)
downloadllvm-0930763b4baf926a39dd2d0571fd9e2102ec3831.zip
llvm-0930763b4baf926a39dd2d0571fd9e2102ec3831.tar.gz
llvm-0930763b4baf926a39dd2d0571fd9e2102ec3831.tar.bz2
hwasan: Move fixed shadow behind opaque no-op cast as well.
This is a workaround for poor heuristics in the backend where we can end up materializing the constant multiple times. This is particularly bad when using outlined checks because we materialize it for every call (because the backend considers it trivial to materialize). As a result the field containing the shadow base value will always be set so simplify the code taking that into account. Differential Revision: https://reviews.llvm.org/D90425
Diffstat (limited to 'llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions