[PATCH] D35699: [PPC] Add Defs = [CARRY] to MIR SRADI_32
Guozhi Wei via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 21 14:06:50 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL308780: [PPC] Add Defs = [CARRY] to MIR SRADI_32 (authored by Carrot).
Changed prior to commit:
https://reviews.llvm.org/D35699?vs=107580&id=107717#toc
Repository:
rL LLVM
https://reviews.llvm.org/D35699
Files:
llvm/trunk/lib/Target/PowerPC/PPCInstr64Bit.td
Index: llvm/trunk/lib/Target/PowerPC/PPCInstr64Bit.td
===================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCInstr64Bit.td
+++ llvm/trunk/lib/Target/PowerPC/PPCInstr64Bit.td
@@ -643,7 +643,7 @@
"sradi", "$rA, $rS, $SH", IIC_IntRotateDI,
[(set i64:$rA, (sra i64:$rS, (i32 imm:$SH)))]>, isPPC64;
// For fast-isel:
-let isCodeGenOnly = 1 in
+let isCodeGenOnly = 1, Defs = [CARRY] in
def SRADI_32 : XSForm_1<31, 413, (outs gprc:$rA), (ins gprc:$rS, u6imm:$SH),
"sradi $rA, $rS, $SH", IIC_IntRotateDI, []>, isPPC64;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35699.107717.patch
Type: text/x-patch
Size: 644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170721/b5f32064/attachment-0001.bin>
More information about the llvm-commits
mailing list