[PATCH] D57069: [RISCV] Set isReMaterializable for ORI, XORI

Ana Pazos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 23 18:32:12 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL352008: [RISCV] Set isReMaterializable for ORI, XORI (authored by apazos, committed by ).
Herald added subscribers: llvm-commits, jrtc27.

Changed prior to commit:
  https://reviews.llvm.org/D57069?vs=182987&id=183227#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57069/new/

https://reviews.llvm.org/D57069

Files:
  llvm/trunk/lib/Target/RISCV/RISCVInstrInfo.td


Index: llvm/trunk/lib/Target/RISCV/RISCVInstrInfo.td
===================================================================
--- llvm/trunk/lib/Target/RISCV/RISCVInstrInfo.td
+++ llvm/trunk/lib/Target/RISCV/RISCVInstrInfo.td
@@ -353,8 +353,12 @@
 
 def SLTI  : ALU_ri<0b010, "slti">;
 def SLTIU : ALU_ri<0b011, "sltiu">;
+
+let isReMaterializable = 1 in {
 def XORI  : ALU_ri<0b100, "xori">;
 def ORI   : ALU_ri<0b110, "ori">;
+}
+
 def ANDI  : ALU_ri<0b111, "andi">;
 
 def SLLI : Shift_ri<0, 0b001, "slli">;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57069.183227.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190124/f34aec70/attachment.bin>


More information about the llvm-commits mailing list