aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnroll.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2021-07-16 15:40:37 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2021-07-26 23:33:36 -0500
commit41bd26dff9869a0d72f95ed750a82136f1bccc81 (patch)
treed7d8f93d18b4cc53c5cece35f00b2490f23d48f8 /llvm/lib/Transforms/Utils/LoopUnroll.cpp
parentadddd3dbdae074285f879c5eb7369a92fdd99117 (diff)
downloadllvm-41bd26dff9869a0d72f95ed750a82136f1bccc81.zip
llvm-41bd26dff9869a0d72f95ed750a82136f1bccc81.tar.gz
llvm-41bd26dff9869a0d72f95ed750a82136f1bccc81.tar.bz2
[Attributor] Delete dead stores
D106185 allows us to determine if a store is needed easily. Using that knowledge we can start to delete dead stores. In AAIsDead we now track more state as an instruction can be dead (= the old optimisitc state) or just "removable". A store instruction can be removable while being very much alive, e.g., if it stores a constant into an alloca or internal global. If we would pretend it was dead instead of only removablewe we would ignore it when we determine what values a load can see, so that is not what we want. Differential Revision: https://reviews.llvm.org/D106188
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
0 files changed, 0 insertions, 0 deletions