Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / test / CodeGen / MIR / X86 / fixed-stack-object-redefinition-error.mir
1 # RUN: not llc -march=x86 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
2
3 --- |
4
5   define i32 @test(i32 %a, i32 %b) #0 {
6   entry:
7     %c = add i32 %a, %b
8     ret i32 %c
9   }
10
11   attributes #0 = { "no-frame-pointer-elim"="false" }
12
13 ...
14 ---
15 name:            test
16 tracksRegLiveness: true
17 frameInfo:
18   maxAlignment:    4
19 fixedStack:
20   - { id: 0, offset: 4, size: 4, alignment: 4, isImmutable: true, isAliased: false }
21 # CHECK: [[@LINE+1]]:11: redefinition of fixed stack object '%fixed-stack.0'
22   - { id: 0, offset: 0, size: 4, alignment: 16, isImmutable: true, isAliased: false }
23 body: |
24   bb.0.entry:
25     %eax = MOV32rm %esp, 1, _, 4, _
26     %eax = ADD32rm killed %eax, %esp, 1, _, 8, _, implicit-def dead %eflags
27     RETL %eax
28 ...