]> granicus.if.org Git - llvm/commitdiff
[RISCV] Add missing hunk from r316188
authorAlex Bradbury <asb@lowrisc.org>
Thu, 19 Oct 2017 21:43:29 +0000 (21:43 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Thu, 19 Oct 2017 21:43:29 +0000 (21:43 +0000)
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

index da919acad3689a421d748317b161acb9b240491a..54aa570e13b08440e4bed2a9f905e6c5c5402789 100644 (file)
@@ -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 {