• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
4li t5, 0x10000000000000000 # CHECK: :[[@LINE]]:8: error: unknown operand
5li t4, foo                 # CHECK: :[[@LINE]]:8: error: operand must be a constant 64-bit integer
6
7rdinstreth x29 # CHECK: :[[@LINE]]:1: error: instruction use requires an option to be enabled
8rdcycleh x27   # CHECK: :[[@LINE]]:1: error: instruction use requires an option to be enabled
9rdtimeh x28    # CHECK: :[[@LINE]]:1: error: instruction use requires an option to be enabled
10
11foo:
12  .space 8
13