brintos

brintos / llvm-project-archived public Read only

0
0
Text · 584 B · e3009e3 Raw
26 lines · plain
1# RUN: not llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2# This test ensures that the MIR parser reports an error when parsing an invalid3# constant pool item operand.4 5--- |6 7  define double @test(double %a, float %b) {8  entry:9    %c = fadd double %a, 3.250000e+0010    ret double %c11  }12 13...14---15name:            test16constants:17  - id:          018    value:       'double 3.250000e+00'19body: |20  bb.0.entry:21    ; CHECK: [[@LINE+1]]:47: use of undefined constant '%const.10'22    $xmm0 = ADDSDrm killed $xmm0, $rip, 1, _, %const.10, _23    RET64 $xmm024...25 26