From 9709853f8699beaeccb7bf9ca9d8d45683023ce9 Mon Sep 17 00:00:00 2001 From: Alex Bradbury Date: Tue, 14 Feb 2017 05:17:23 +0000 Subject: [PATCH] [RISCV] Pseudo instructions are isCodeGenOnly, have blank asmstr llvm-svn: 295027 --- lib/Target/RISCV/RISCVInstrFormats.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/RISCV/RISCVInstrFormats.td b/lib/Target/RISCV/RISCVInstrFormats.td index 1e9bc3bf9bc..3fab7122f6f 100644 --- a/lib/Target/RISCV/RISCVInstrFormats.td +++ b/lib/Target/RISCV/RISCVInstrFormats.td @@ -44,8 +44,9 @@ class RISCVInst pattern> // Pseudo instructions class Pseudo pattern> - : RISCVInst { + : RISCVInst { let isPseudo = 1; + let isCodeGenOnly = 1; } class FR funct7, bits<3> funct3, bits<7> opcode, dag outs, dag ins,