Home | History | Annotate | Download | only in RISCV
      1 # RUN: not llvm-mc %s -triple=riscv64 -riscv-no-aliases 2>&1 | FileCheck %s
      2 # RUN: not llvm-mc %s -triple=riscv64 2>&1 | FileCheck %s
      3 
      4 li t5, 0x10000000000000000 # CHECK: :[[@LINE]]:8: error: unknown operand
      5 li t4, foo                 # CHECK: :[[@LINE]]:8: error: operand must be a constant 64-bit integer
      6 
      7 rdinstreth x29 # CHECK: :[[@LINE]]:1: error: instruction use requires an option to be enabled
      8 rdcycleh x27   # CHECK: :[[@LINE]]:1: error: instruction use requires an option to be enabled
      9 rdtimeh x28    # CHECK: :[[@LINE]]:1: error: instruction use requires an option to be enabled
     10 
     11 foo:
     12   .space 8
     13