diff options
author | Tim Northover <tnorthover@apple.com> | 2023-01-09 10:52:34 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2023-01-09 11:12:33 +0000 |
commit | 5b24d421064743fcb67be82cf1578cc3aa502faf (patch) | |
tree | 7a0629eaabf0bd85d5d6d8d8918941a2104bcbae /clang/lib/Tooling/Syntax/BuildTree.cpp | |
parent | 4a04f8c240242524080fc8930150fa4cd0d34157 (diff) | |
download | llvm-5b24d421064743fcb67be82cf1578cc3aa502faf.zip llvm-5b24d421064743fcb67be82cf1578cc3aa502faf.tar.gz llvm-5b24d421064743fcb67be82cf1578cc3aa502faf.tar.bz2 |
TailDuplication: do not remove trivial PHIs from addr-taken blocks.
Unlike an anonymous block, it will not be removed even though we've resolved
all valid paths to get here. So removing a PHI can leave vregs with no
definition, violating SSA. Instead, this converts it to an IMPLICIT_DEF.
Diffstat (limited to 'clang/lib/Tooling/Syntax/BuildTree.cpp')
0 files changed, 0 insertions, 0 deletions