diff options
author | Bill Wendling <isanbard@gmail.com> | 2020-10-06 17:54:36 -0700 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2020-10-06 18:44:59 -0700 |
commit | d2c61d2bf9bd1efad49acba2f2751112522686aa (patch) | |
tree | 37ef2785e21cd85e1f2676dcdb42f0e407dde0b0 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 2f40e20613758b3e11a15494c09f4b6973673d6b (diff) | |
download | llvm-d2c61d2bf9bd1efad49acba2f2751112522686aa.zip llvm-d2c61d2bf9bd1efad49acba2f2751112522686aa.tar.gz llvm-d2c61d2bf9bd1efad49acba2f2751112522686aa.tar.bz2 |
[CodeGen][TailDuplicator] Don't duplicate blocks with INLINEASM_BR
Tail duplication of a block with an INLINEASM_BR may result in a PHI
node on the indirect branch. This is okay, but it also introduces a copy
for that PHI node *after* the INLINEASM_BR, which is not okay.
See: https://github.com/ClangBuiltLinux/linux/issues/1125
Differential Revision: https://reviews.llvm.org/D88823
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions