1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=i386-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=CHECK
5 define i32* @allocai32() {
17 - { id: 0, class: gpr, preferred-register: '' }
20 - { id: 0, name: ptr1, type: default, offset: 0, size: 4, alignment: 4,
21 stack-id: default, callee-saved-register: '', callee-saved-restored: true,
22 debug-info-variable: '', debug-info-expression: '',
23 debug-info-location: '' }
27 ; CHECK-LABEL: name: allocai32
28 ; CHECK: [[LEA32r:%[0-9]+]]:gr32 = LEA32r %stack.0.ptr1, 1, $noreg, 0, $noreg
29 ; CHECK: $eax = COPY [[LEA32r]]
30 ; CHECK: RET 0, implicit $eax
31 %0:gpr(p0) = G_FRAME_INDEX %stack.0.ptr1