brintos

brintos / llvm-project-archived public Read only

0
0
Text · 501 B · 08b8905 Raw
25 lines · plain
1# RUN: not llc -mtriple=nvptx -mcpu=sm_20 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2 3--- |4 5  define float @test(float %k) {6  entry:7    %0 = fadd float %k, 3.250000e+008    ret float %09  }10 11...12---13name:            test14registers:15  - { id: 0, class: b32 }16  - { id: 1, class: b32 }17body: |18  bb.0.entry:19    %0 = LD_i32 0, 4, 1, 2, 32, &test_param_0, 020  ; CHECK: [[@LINE+1]]:33: expected a floating point literal21    %1 = FADD_rnf32ri %0, float 322    StoreRetvalI32 %1, 023    Return24...25