Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/MIR/X86/invalid-constant-pool-item.mir @ 128:c347d3398279 default tip
fix
author | mir3636 |
---|---|
date | Wed, 06 Dec 2017 14:37:17 +0900 |
parents | 1172e4bd9c6f |
children |
line wrap: on
line source
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s # This test ensures that the MIR parser reports an error when parsing an invalid # constant pool item operand. --- | define double @test(double %a, float %b) { entry: %c = fadd double %a, 3.250000e+00 ret double %c } ... --- name: test constants: - id: 0 value: 'double 3.250000e+00' body: | bb.0.entry: ; CHECK: [[@LINE+1]]:47: use of undefined constant '%const.10' %xmm0 = ADDSDrm killed %xmm0, %rip, 1, _, %const.10, _ RETQ %xmm0 ...