[llvm][TailDuplicator] don't taildup isInlineAsmBrIndirectTargets
authorNick Desaulniers <ndesaulniers@google.com>
Wed, 31 Aug 2022 19:52:52 +0000 (12:52 -0700)
committerNick Desaulniers <ndesaulniers@google.com>
Wed, 31 Aug 2022 20:07:10 +0000 (13:07 -0700)
commitd7474bef779ab9848d48e2a0625778b78eac6fee
tree0534d90b4d4298006f5e777c0cf5e1726b4c67e9
parent588115c117fb5f746f595e182fd671ebe141f51e
[llvm][TailDuplicator] don't taildup isInlineAsmBrIndirectTargets

This fixes a crash observed after
https://reviews.llvm.org/D129997.

Similar to D88823.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D130127
llvm/lib/CodeGen/TailDuplicator.cpp
llvm/test/CodeGen/AArch64/callbr-asm-obj-file.ll
llvm/test/CodeGen/X86/callbr-asm-outputs.ll
llvm/test/CodeGen/X86/tail-dup-asm-goto.ll