brintos

brintos / llvm-project-archived public Read only

0
0
Text · 409 B · 79e73e2 Raw
10 lines · plain
1# RUN: not llvm-mc -disassemble -triple=riscv32 -mattr=+c < %s 2>&1 | FileCheck %s2# RUN: not llvm-mc -disassemble -triple=riscv64 -mattr=+c < %s 2>&1 | FileCheck %s3#4# Test generated by a LLVM MC Disassembler Protocol Buffer Fuzzer5# for the RISC-V assembly language.6 7# This should not decode as c.addi16sp with 0 imm when compression is enabled.8[0x01 0x61]9# CHECK: warning: invalid instruction encoding10