aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-09-14 15:51:17 +0100
committerFlorian Hahn <flo@fhahn.com>2020-09-14 16:11:56 +0100
commitc4f1b3144184e4c276a7e7c801cbcd4ac3c573ba (patch)
tree2fc4f00b7b4ea2435082fb88b26c68fff7b40db9 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentf07f3c72375b872bfb988f7531d4e0485233ade1 (diff)
downloadllvm-c4f1b3144184e4c276a7e7c801cbcd4ac3c573ba.zip
llvm-c4f1b3144184e4c276a7e7c801cbcd4ac3c573ba.tar.gz
llvm-c4f1b3144184e4c276a7e7c801cbcd4ac3c573ba.tar.bz2
[MemorySSA] Make sure PerformedPhiTrans is updated for each visited def.
1ce82015f6d0 added a fix to restrict phi optimizations after phi translations. But the current use of performedPhiTranslation only checked whether phi translation happened for the first iterator and missed cases where phi translations happens at subsequent iterators/upwards defs. This patch changes upward_defs_iteartor to take a pointer to a bool, so we can easily ensure the final value includes all visited defs, while still being able to conveniently use it with make_range & co.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions