aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorHaibo Jiang <33863061+Jianghibo@users.noreply.github.com>2025-08-16 05:35:13 +0800
committerGitHub <noreply@github.com>2025-08-15 14:35:13 -0700
commit21a5729b87a6c2e271334049fa28af10fa12f0c7 (patch)
treed8b179b1df87979b456599b69fdb9f68c335a8d7 /clang/lib/Frontend/InitPreprocessor.cpp
parentd0b19cf792eb673a5b8ad5f77793d270d0f44981 (diff)
downloadllvm-21a5729b87a6c2e271334049fa28af10fa12f0c7.zip
llvm-21a5729b87a6c2e271334049fa28af10fa12f0c7.tar.gz
llvm-21a5729b87a6c2e271334049fa28af10fa12f0c7.tar.bz2
[BOLT] Do not use HLT as split point when build the CFG (#150963)
For x86, the halt instruction is defined as a terminator instruction. When building the CFG, the instruction sequence following the hlt instruction is treated as an independent MBB. Since there is no jump information, the predecessor of this MBB cannot be identified, and it is considered an unreachable MBB that will be removed. Using this fix, the instruction sequences before and after hlt are refused to be placed in different blocks.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions