reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
# 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
...