You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
619 B
26 lines
619 B
# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -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
|
|
...
|
|
|