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
# RUN: not llc -mtriple=wasm32-unknown-unknown -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
# When a typed immediate operand does not start with 'i', 's', or 'p'
---
name: test_typed_immediate_operand_invalid1
liveins:
  - { reg: '$arguments' }
body: |
  bb.0:
    liveins: $arguments
    ; CHECK: [[@LINE+1]]:24: a typed immediate operand should start with one of 'i', 's', or 'p'
    %0:i32 = CONST_I32 abc 0, implicit-def dead $arguments
    RETURN implicit-def dead $arguments
...