aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2020-02-11 00:10:35 -0600
committerJohannes Doerfert <johannes@jdoerfert.de>2020-02-11 15:11:55 -0600
commit8e62968d45429815411ca9bb358a913dde7b1152 (patch)
treef9ab08df45aca45f1542a50e6bedbe9e49380e01 /clang/lib/Frontend/CompilerInvocation.cpp
parent813bfffec34b87d32c9c834718f660afb5275bc8 (diff)
downloadllvm-8e62968d45429815411ca9bb358a913dde7b1152.zip
llvm-8e62968d45429815411ca9bb358a913dde7b1152.tar.gz
llvm-8e62968d45429815411ca9bb358a913dde7b1152.tar.bz2
[Attributor] Identify dead uses in PHIs (almost) based on dead edges
As an approximation to a dead edge we can check if the terminator is dead. If so, the corresponding operand use in a PHI node is dead even if the PHI node itself is not.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions