linux-packaging-mono/external/llvm/test/CodeGen/MIR/X86/branch-probabilities.mir
Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +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
...