================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to