1# RUN: llc -mtriple x86_64-linux-gnu -run-pass mir-canonicalizer -verify-machineinstrs %s -o - | FileCheck %s
2# RUN: llc -mtriple x86_64-linux-gnu -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -verify-machineinstrs %s -o - | FileCheck %s
3
4...
5---
6name: f
7stack:
8  - { id: 0, size: 4 }
9  - { id: 1, size: 4 }
10fixedStack:
11  - { id: 0, offset: 0, size: 4 }
12  - { id: 1, offset: 0, size: 4 }
13body: |
14  bb.1:
15    ; CHECK: _1:_(p0) = G_FRAME_INDEX %stack.{{[0-1]}}
16    ; CHECK: _1:_(p0) = G_FRAME_INDEX %stack.{{[0-1]}}
17    ; CHECK: _1:gr32 = MOV32rm %fixed-stack.{{[0-1]}}
18    ; CHECK: _1:gr32 = MOV32rm %fixed-stack.{{[0-1]}}
19    %1:_(p0) = G_FRAME_INDEX %stack.0
20    %2:_(p0) = G_FRAME_INDEX %stack.1
21    %3:gr32 = MOV32rm %fixed-stack.0, 1, _, 0, _
22    %4:gr32 = MOV32rm %fixed-stack.1, 1, _, 0, _
23
24...
25