summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/RISCV/rv32e.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/RISCV/rv32e.ll')
-rw-r--r--llvm/test/CodeGen/RISCV/rv32e.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/RISCV/rv32e.ll b/llvm/test/CodeGen/RISCV/rv32e.ll
new file mode 100644
index 00000000000..2416639dc93
--- /dev/null
+++ b/llvm/test/CodeGen/RISCV/rv32e.ll
@@ -0,0 +1,7 @@
+; RUN: not llc -mtriple=riscv32 -mattr=+e < %s 2>&1 | FileCheck %s
+
+; CHECK: LLVM ERROR: Codegen not yet implemented for RV32E
+
+define void @nothing() nounwind {
+ ret void
+}
OpenPOWER on IntegriCloud