aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorKang Zhang <shkzhang@cn.ibm.com>2020-07-30 08:18:50 +0000
committerKang Zhang <shkzhang@cn.ibm.com>2020-07-30 08:18:50 +0000
commit0037a5f894345eef5552d6620548cc8ad5900b41 (patch)
treeb2970674e64f4ce1c788cebe26d1ef72ff5d26e3 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent3aab320557e7441bc2ce0b51fd6d82838fd0d484 (diff)
downloadllvm-0037a5f894345eef5552d6620548cc8ad5900b41.zip
llvm-0037a5f894345eef5552d6620548cc8ad5900b41.tar.gz
llvm-0037a5f894345eef5552d6620548cc8ad5900b41.tar.bz2
[PHIElimination] Fix the killed flag for LowerPHINode()
Summary: In the phi-node-elimination pass, we set the killed flag incorrectly. When we eliminate the PHI node, we replace the PHI with a copy for the incoming value. Before this patch, we will set incoming value as killed(PHICopy). And we will remove the killed flag from last using incoming value(OldKill). This is correct, only if the new PHICopy is after the OldKill. Reviewed By: bjope Differential Revision: https://reviews.llvm.org/D80886
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions