[PATCH] D159077: [AMDGPU] Move add64/sub64 to VALU
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 29 09:31:22 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG294f63285992: [AMDGPU] Move add64/sub64 to VALU (authored by rampitec).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159077/new/
https://reviews.llvm.org/D159077
Files:
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Index: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+++ llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
@@ -6400,10 +6400,11 @@
default:
break;
case AMDGPU::S_ADD_U64_PSEUDO:
+ NewOpcode = AMDGPU::V_ADD_U64_PSEUDO;
+ break;
case AMDGPU::S_SUB_U64_PSEUDO:
- splitScalar64BitAddSub(Worklist, Inst, MDT);
- Inst.eraseFromParent();
- return;
+ NewOpcode = AMDGPU::V_SUB_U64_PSEUDO;
+ break;
case AMDGPU::S_ADD_I32:
case AMDGPU::S_SUB_I32: {
// FIXME: The u32 versions currently selected use the carry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159077.554394.patch
Type: text/x-patch
Size: 640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230829/203da626/attachment.bin>
More information about the llvm-commits
mailing list