[clang] [llvm] [AMDGPU] First installment of IGLP_OPT 4 (MFMAValuSpacingOpt) implementation (PR #190916)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 10 04:51:28 PDT 2026


================
@@ -3244,6 +3244,20 @@ static bool hasIGLPInstrs(ScheduleDAGInstrs *DAG) {
   });
 }
 
+static bool hasIGLPOpt(ScheduleDAGInstrs *DAG, int64_t StrategyImm) {
+  return any_of(*DAG, [StrategyImm](MachineBasicBlock::iterator MI) {
----------------
arsenm wrote:

Does this really need to scan through all instructions in the block for each of these situations 

https://github.com/llvm/llvm-project/pull/190916


More information about the cfe-commits mailing list