[llvm] [BOLT] Not use hlt as split point when build the CFG (PR #150963)

Haibo Jiang via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 29 07:42:19 PDT 2025


Jianghibo wrote:

> > I checked the definition of the hlt instruction under the x86 architecture, and it is defined as a terminator.
> 
> Right. We don't want to change LLVM's definition, but for BOLT's CFG-building purposes we should treat it as non-terminator, that's why I propose to change `MCPlusBuilder::isTerminator()`.

updated the implementation.

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


More information about the llvm-commits mailing list