1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64-- -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
10 declare i32 @printf(ptr, ...)
15 exposesReturnsTwice: false
19 tracksRegLiveness: true
21 - { id: 0, class: gpr }
22 - { id: 1, class: gpr }
23 - { id: 2, class: gpr }
24 - { id: 3, class: gpr }
25 - { id: 4, class: gpr }
26 - { id: 5, class: gpr }
27 - { id: 6, class: gpr }
28 - { id: 7, class: gpr }
29 - { id: 8, class: gpr }
30 - { id: 9, class: gpr }
31 - { id: 10, class: gpr }
32 - { id: 11, class: gpr }
33 - { id: 12, class: gpr }
34 - { id: 13, class: gpr }
35 - { id: 14, class: gpr }
36 - { id: 15, class: gpr }
38 isFrameAddressTaken: false
39 isReturnAddressTaken: false
48 hasOpaqueSPAdjustment: false
50 hasMustTailInVarArgFunc: false
54 ; CHECK-LABEL: name: main
56 ; CHECK: [[COPY:%[0-9]+]]:gpr32 = COPY $w0
57 ; CHECK: [[ORNWrr:%[0-9]+]]:gpr32 = ORNWrr $wzr, [[COPY]]
58 ; CHECK: [[EORWri:%[0-9]+]]:gpr32sp = EORWri [[ORNWrr]], 0
59 ; CHECK: $w0 = COPY [[EORWri]]
60 %0(s32) = G_CONSTANT i32 -1
61 %3(s32) = G_CONSTANT i32 1
63 %2(s32) = G_XOR %1, %0
64 %4(s32) = G_XOR %2, %3