linux-packaging-mono/external/llvm/test/CodeGen/MIR/X86/branch-probabilities.mir
Xamarin Public Jenkins (auto-signing) 8e12397d70 Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00

19 lines
399 B
YAML

# RUN: llc -o - %s -mtriple=x86_64-- -run-pass=none | FileCheck %s
---
# Check that branch probabilities are printed correctly as hex numbers.
# CHECK-LABEL: name: test
# CHECK: bb.0:
# CHECK-NEXT: successors: %bb.1(0x66666666), %bb.2(0x1999999a)
name: test
body: |
bb.0:
successors: %bb.1(4), %bb.2(1)
JE_1 %bb.2, implicit undef %eflags
bb.1:
NOOP
bb.2:
RETQ undef %eax
...