You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
858 B

# REQUIRES: x86-registered-target
# Ensure llc can read and parse MIR pseudo probe operations.
# RUN: llc -O0 -mtriple x86_64-- -run-pass none %s -o - | FileCheck %s
# CHECK: PSEUDO_PROBE 6699318081062747564, 1, 0, 0
# CHECK: PSEUDO_PROBE 6699318081062747564, 3, 0, 0
# CHECK: PSEUDO_PROBE 6699318081062747564, 4, 0, 0
# CHECK: PSEUDO_PROBE 6699318081062747564, 2, 0, 0
# CHECK: PSEUDO_PROBE 6699318081062747564, 4, 0, 0
name: foo
body: |
bb.0:
TEST32rr killed renamable $edi, renamable $edi, implicit-def $eflags
PSEUDO_PROBE 6699318081062747564, 1, 0, 0
JCC_1 %bb.1, 4, implicit $eflags
bb.2:
PSEUDO_PROBE 6699318081062747564, 3, 0, 0
PSEUDO_PROBE 6699318081062747564, 4, 0, 0
RETQ
bb.1:
PSEUDO_PROBE 6699318081062747564, 2, 0, 0
PSEUDO_PROBE 6699318081062747564, 4, 0, 0
RETQ
...