1# RUN: llvm-mc %s -triple=riscv32 -mattr=+experimental-zicfilp -M no-aliases -show-encoding \ 2# RUN: | FileCheck -check-prefixes=CHECK-ASM %s 3# RUN: llvm-mc %s -triple=riscv64 -mattr=+experimental-zicfilp -M no-aliases -show-encoding \ 4# RUN: | FileCheck -check-prefixes=CHECK-ASM %s 5# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+experimental-zicfilp < %s \ 6# RUN: | llvm-objdump --mattr=+experimental-zicfilp --no-print-imm-hex -d -r - \ 7# RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s 8# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+experimental-zicfilp < %s \ 9# RUN: | llvm-objdump --mattr=+experimental-zicfilp --no-print-imm-hex -d -r - \ 10# RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s 11# 12# RUN: not llvm-mc -triple riscv32 -M no-aliases -show-encoding < %s 2>&1 \ 13# RUN: | FileCheck -check-prefixes=CHECK-NO-EXT %s 14# RUN: not llvm-mc -triple riscv64 -M no-aliases -show-encoding < %s 2>&1 \ 15# RUN: | FileCheck -check-prefixes=CHECK-NO-EXT %s 16 17# CHECK-ASM-AND-OBJ: lpad 22 18# CHECK-ASM: auipc zero, 22 19# CHECK-ASM: encoding: [0x17,0x60,0x01,0x00] 20# CHECK-NO-EXT: instruction requires the following: 'Zicfilp' (Landing pad) 21lpad 22 22