[clang] Add tracking source deduction guide for the explicitly-written
[llvm-project.git] / llvm / test / CodeGen / MIR / X86 / expected-size-integer-after-memory-operation2.mir
blobfb931c8c5fc6f8adde0b39f8678a19cc6900f768
1 # RUN: not llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
3 --- |
5   define i32 @test(ptr %a) {
6   entry:
7     %b = load i32, ptr %a
8     ret i32 %b
9   }
11 ...
12 ---
13 name:            test
14 tracksRegLiveness: true
15 liveins:
16   - { reg: '$rdi' }
17 body: |
18   bb.0.entry:
19     liveins: $rdi
20   ; CHECK: [[@LINE+1]]:53: expected memory LLT, the size integer literal or 'unknown-size' after memory operation
21     $eax = MOV32rm killed $rdi, 1, _, 0, _ :: (load . from %ir.a)
22     RET64 $eax
23 ...