[PATCH] D41339: [RISCV] Add Defs Uses information for c.jal and c.addi4spn
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 04:10:34 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL321643: [RISCV] Add Defs Uses information for c.jal and c.addi4spn (authored by asb, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D41339?vs=127296&id=128407#toc
Repository:
rL LLVM
https://reviews.llvm.org/D41339
Files:
llvm/trunk/lib/Target/RISCV/RISCVInstrInfoC.td
Index: llvm/trunk/lib/Target/RISCV/RISCVInstrInfoC.td
===================================================================
--- llvm/trunk/lib/Target/RISCV/RISCVInstrInfoC.td
+++ llvm/trunk/lib/Target/RISCV/RISCVInstrInfoC.td
@@ -177,7 +177,7 @@
let Predicates = [HasStdExtC] in {
-let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in
+let hasSideEffects = 0, mayLoad = 0, mayStore = 0, Uses = [X2] in
def C_ADDI4SPN : RVInst16CIW<0b000, 0b00, (outs GPRC:$rd),
(ins SP:$rs1, uimm10_lsb00nonzero:$imm),
"c.addi4spn", "$rd, $rs1, $imm"> {
@@ -260,7 +260,7 @@
}
let hasSideEffects = 0, mayLoad = 0, mayStore = 0, isCall = 1,
- DecoderNamespace = "RISCV32Only_" in
+ DecoderNamespace = "RISCV32Only_", Defs = [X1] in
def C_JAL : RVInst16CJ<0b001, 0b01, (outs), (ins simm12_lsb0:$offset),
"c.jal", "$offset">,
Requires<[IsRV32]>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41339.128407.patch
Type: text/x-patch
Size: 937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180102/8179fd95/attachment.bin>
More information about the llvm-commits
mailing list