From 920aa533c17e74f4b4aefa05c5bee219c429b4d1 Mon Sep 17 00:00:00 2001 From: Alex Bradbury Date: Thu, 19 Oct 2017 21:43:29 +0000 Subject: [PATCH] [RISCV] Add missing hunk from r316188 r316188 didn't set guessInstructionProperties=1 as it should have done. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316189 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/RISCV/RISCV.td | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Target/RISCV/RISCV.td b/lib/Target/RISCV/RISCV.td index da919acad36..54aa570e13b 100644 --- a/lib/Target/RISCV/RISCV.td +++ b/lib/Target/RISCV/RISCV.td @@ -40,7 +40,9 @@ def : ProcessorModel<"generic-rv64", NoSchedModel, [Feature64Bit]>; //===----------------------------------------------------------------------===// def RISCVInstrInfo : InstrInfo { - let guessInstructionProperties = 0; + // TODO: disable guessInstructionProperties when + // https://reviews.llvm.org/D37065 lands. + let guessInstructionProperties = 1; } def RISCVAsmParser : AsmParser { -- 2.40.0