[llvm] [TailDuplicator] Determine if computed gotos using `blockaddress` (PR #132536)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 25 04:55:13 PDT 2025


dianqk wrote:

> isIndirectBranch is a low level instruction query. I expect it to inform of properties that directly apply to the instruction itself, and it is inappropriate for it to inspect the CFG. This code should be moved somewhere else

I moved this to `MachineBasicBlock`.

https://github.com/llvm/llvm-project/pull/132536


More information about the llvm-commits mailing list