35 lines · plain
1# RUN: llc -mtriple=x86_64 -run-pass none -o - %s | FileCheck %s2# This test ensures that the MIR parser parses pcsections metadata correctly.3 4--- |5 6 define i8 @test(ptr %a) {7 entry:8 %0 = load i8, ptr %a, align 1, !pcsections !09 ret i8 %010 }11 12 !0 = !{!"foo"}13 14...15---16name: test17alignment: 1618tracksRegLiveness: true19liveins:20 - { reg: '$rdi' }21frameInfo:22 maxAlignment: 123 maxCallFrameSize: 024machineFunctionInfo: {}25body: |26 bb.0.entry:27 liveins: $rdi28 29 ; CHECK-LABEL: name: test30 ; CHECK: MOV{{.*}} pcsections !031 renamable $al = MOV8rm killed renamable $rdi, 1, $noreg, 0, $noreg, pcsections !032 RET64 implicit killed $al33 34...35