1# RUN: not llc -march=nvptx -mcpu=sm_20 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2
3--- |
4
5  define float @test(float %k) {
6  entry:
7    %0 = fadd float %k, 3.250000e+00
8    ret float %0
9  }
10
11...
12---
13name:            test
14registers:
15  - { id: 0, class: float32regs }
16  - { id: 1, class: float32regs }
17body: |
18  bb.0.entry:
19    %0 = LD_f32_avar 0, 4, 1, 2, 32, &test_param_0
20  ; CHECK: [[@LINE+1]]:33: expected a floating point literal
21    %1 = FADD_rnf32ri %0, float 3
22    StoreRetvalF32 %1, 0
23    Return
24...
25