aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/BinaryReader/DylibReader.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2025-10-31 16:10:59 -0700
committerGitHub <noreply@github.com>2025-10-31 23:10:59 +0000
commit6adef40e756eb427508ae245bfa0fd846573782e (patch)
treea0f6e4b1c5ecaa1ae389ce62561bd2be87f2203d /llvm/lib/TextAPI/BinaryReader/DylibReader.cpp
parent045f3ceb84d982b5ccc39144f26d41674f4059fc (diff)
downloadllvm-6adef40e756eb427508ae245bfa0fd846573782e.zip
llvm-6adef40e756eb427508ae245bfa0fd846573782e.tar.gz
llvm-6adef40e756eb427508ae245bfa0fd846573782e.tar.bz2
[SimplifyCFG] Don't propagate weights to unconditional branches in `turnSwitchRangeIntoICmp` (#165931)
PR #161000 introduced a bug whereby the IR would become invalid by having an unconditional branch have `!prof`​attached to it. This only became evident in PR #165744, because the IR of `test/Transforms/SimplifyCFG/pr165301.ll`​was simple enough to both (1) introduce the unconditional branch, and (2) survive in that fashion until the end of the pass (simplifycfg) and thus trip the verifier.
Diffstat (limited to 'llvm/lib/TextAPI/BinaryReader/DylibReader.cpp')
0 files changed, 0 insertions, 0 deletions