[all-commits] [llvm/llvm-project] d2c61d: [CodeGen][TailDuplicator] Don't duplicate blocks w...
Bill Wendling via All-commits
all-commits at lists.llvm.org
Tue Oct 6 18:45:21 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d2c61d2bf9bd1efad49acba2f2751112522686aa
https://github.com/llvm/llvm-project/commit/d2c61d2bf9bd1efad49acba2f2751112522686aa
Author: Bill Wendling <isanbard at gmail.com>
Date: 2020-10-06 (Tue, 06 Oct 2020)
Changed paths:
M llvm/lib/CodeGen/TailDuplicator.cpp
A llvm/test/CodeGen/X86/tail-dup-asm-goto.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list