[llvm] [AMDGPU] Enable reordering of VMEM loads during clustering (PR #107986)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 20 02:22:54 PST 2026
================
@@ -703,12 +708,21 @@ static ScheduleDAGInstrs *createSIMachineScheduler(MachineSchedContext *C) {
return new SIScheduleDAGMI(C);
}
+static bool getReorderWhileClustering(const MachineFunction *MF) {
+ if (!ReorderWhileClustering)
+ return false;
+ Attribute FnAttr =
+ MF->getFunction().getFnAttribute("amdgpu-reorder-while-clustering");
----------------
arsenm wrote:
I wouldn't add the attribute without a specific need
https://github.com/llvm/llvm-project/pull/107986
More information about the llvm-commits
mailing list