MIR Serialization: Change MIR syntax - use custom syntax for MBBs.
[oota-llvm.git] / test / CodeGen / MIR / X86 / constant-pool-item-redefinition-error.mir
1 # RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
2
3 --- |
4
5   define double @test(double %a, float %b) {
6   entry:
7     %c = fadd double %a, 3.250000e+00
8     ret double %c
9   }
10
11 ...
12 ---
13 name:            test
14 constants:
15   - id:          0
16     value:       'double 3.250000e+00'
17 # CHECK: [[@LINE+1]]:18: redefinition of constant pool item '%const.0'
18   - id:          0
19     value:       'double 3.250000e+00'
20 body: |
21   bb.0.entry:
22     %xmm0 = ADDSDrm killed %xmm0, %rip, 1, _, %const.0, _
23     RETQ %xmm0
24 ...
25