[PATCH] D128656: [AMDGPU] gfx11 Generate VOPD Instructions
Joe Nash via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 30 14:21:54 PDT 2022
Joe_Nash added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp:172
+/// Greedily pairs instruction candidates. O(n^2) algorithm.
+struct VOPDPairingMutation : ScheduleDAGMutation {
+ ShouldSchedulePredTy shouldScheduleAdjacent; // NOLINT: function pointer
----------------
rampitec wrote:
> Isn't it the same as MacroFusion?
No. Macrofusion only pairs instructions which are already data dependent (see MacroFusion.cpp:176), while this mutator considers all pairs of instructions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128656/new/
https://reviews.llvm.org/D128656
More information about the llvm-commits
mailing list