[PATCH] D26400: AMDGPU: Set hasExtraSrcRegAllocReq on v_div_scale_*
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 8 07:39:05 PST 2016
arsenm created this revision.
arsenm added a subscriber: llvm-commits.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: tony-tye, yaxunl, nhaehnle, wdng, kzhuravl.
This doesn't solve any problems I know about, but this should have more conservative assumptions about the operands
https://reviews.llvm.org/D26400
Files:
lib/Target/AMDGPU/SIInstructions.td
Index: lib/Target/AMDGPU/SIInstructions.td
===================================================================
--- lib/Target/AMDGPU/SIInstructions.td
+++ lib/Target/AMDGPU/SIInstructions.td
@@ -1831,7 +1831,7 @@
} // End isCommutable = 1, SchedRW = [WriteQuarterRate32]
-let SchedRW = [WriteFloatFMA, WriteSALU] in {
+let SchedRW = [WriteFloatFMA, WriteSALU], hasExtraSrcRegAllocReq = 1 in {
defm V_DIV_SCALE_F32 : VOP3bInst <vop3<0x16d, 0x1e0>, "v_div_scale_f32",
VOP3b_F32_I1_F32_F32_F32, [], 1
>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26400.77194.patch
Type: text/x-patch
Size: 511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161108/944f6352/attachment.bin>
More information about the llvm-commits
mailing list