1# RUN: llc -run-pass none -o - %s | FileCheck %s 2# This test ensures that the MIR parser parses GlobalISel MachineFunction 3# properties correctly. 4# This doesn't require GlobalISel to be built, as the properties are always 5# available in CodeGen. 6 7--- | 8 9 define i32 @test_defaults() { 10 entry: 11 ret i32 0 12 } 13 14 define i32 @test() { 15 start: 16 ret i32 0 17 } 18 19... 20--- 21# CHECK-LABEL: name: test_defaults 22# CHECK: legalized: false 23# CHECK-NEXT: regBankSelected: false 24# CHECK-NEXT: selected: false 25name: test_defaults 26body: | 27 bb.0: 28... 29--- 30# CHECK-LABEL: name: test 31# CHECK: legalized: true 32# CHECK-NEXT: regBankSelected: true 33# CHECK-NEXT: selected: true 34name: test 35legalized: true 36regBankSelected: true 37selected: true 38body: | 39 bb.0: 40... 41