[PATCH] D133972: [AMDGPU] Fix size of SOPK instructions to 4 bytes
Anshil Gandhi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 15 19:44:05 PDT 2022
gandhi21299 updated this revision to Diff 460605.
gandhi21299 added a comment.
Set FixedSize for SOPK_Pseudo
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133972/new/
https://reviews.llvm.org/D133972
Files:
llvm/lib/Target/AMDGPU/SOPInstructions.td
Index: llvm/lib/Target/AMDGPU/SOPInstructions.td
===================================================================
--- llvm/lib/Target/AMDGPU/SOPInstructions.td
+++ llvm/lib/Target/AMDGPU/SOPInstructions.td
@@ -722,6 +722,7 @@
let hasSideEffects = 0;
let SALU = 1;
let SOPK = 1;
+ let FixedSize = 1;
let SchedRW = [WriteSALU];
let UseNamedOperandTable = 1;
string Mnemonic = opName;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133972.460605.patch
Type: text/x-patch
Size: 404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220916/50355411/attachment.bin>
More information about the llvm-commits
mailing list