mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
02c51ed077
The test for [0x00 0x00] failed due to the introduction of c.unimp. This particular test is unnecessary now that c.unimp was defined (and is tested in test/MC/RISCV/rv32c-valid.s). llvm-svn: 348117
10 lines
409 B
Plaintext
10 lines
409 B
Plaintext
# RUN: not llvm-mc -disassemble -triple=riscv32 -mattr=+c < %s 2>&1 | FileCheck %s
|
|
# RUN: not llvm-mc -disassemble -triple=riscv64 -mattr=+c < %s 2>&1 | FileCheck %s
|
|
#
|
|
# Test generated by a LLVM MC Disassembler Protocol Buffer Fuzzer
|
|
# for the RISC-V assembly language.
|
|
|
|
# This should not decode as c.addi16sp with 0 imm when compression is enabled.
|
|
[0x01 0x61]
|
|
# CHECK: warning: invalid instruction encoding
|