[RISCV] Porting hasAllNBitUsers to RISCV GISel for instruction select (#125795)
[llvm-project.git] / llvm / test / CodeGen / MIR / X86 / constant-pool-item-redefinition-error.mir
blob8485924028228f96d30a8b8ac4d7c73e41724faa
1 # RUN: not llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
3 --- |
5   define double @test(double %a, float %b) {
6   entry:
7     %c = fadd double %a, 3.250000e+00
8     ret double %c
9   }
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     RET64 %xmm0
24 ...