llvm-project/llvm/test/CodeGen/MIR/X86/zero-probability.mir

15 lines
316 B
YAML

# RUN: llc -run-pass=none -o /dev/null %s
# REQUIRES: asserts
# REQUIRES: default_triple
# Makes sure that having a probability of 0x00000000 to branch to a successor
# doesn't hit an APInt assert in the MIParser.
---
name: main
body: |
bb.0:
successors: %bb.1(0x00000000)
bb.1:
...