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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to