[llvm-branch-commits] [llvm] [SimplifyCFG][profcheck] Fix artificially-failing `preserve-branchweights.ll` (PR #160629)
Nikita Popov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Sep 26 13:30:17 PDT 2025
https://github.com/nikic commented:
The test says:
```llvm
; Don't crash processing degenerate metadata.
define void @or_icmps_empty_metadata(i32 %x, i32 %y, ptr %p) {
```
So I believe the intention here is specifically to test this degenerate situation of 0, 0 branch weights.
Possibly these should be rejected by the verifier? If that were the case, there would be no need to test them here.
https://github.com/llvm/llvm-project/pull/160629
More information about the llvm-branch-commits
mailing list