[llvm] [Sched] Skip MemOp with unknown size when clustering (PR #118443)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 05:23:29 PST 2024


================
@@ -1947,6 +1947,9 @@ void BaseMemOpClusterMutation::collectMemOpRecords(
     LocationSize Width = 0;
     if (TII->getMemOperandsWithOffsetWidth(MI, BaseOps, Offset,
                                            OffsetIsScalable, Width, TRI)) {
+      if (!Width.hasValue())
----------------
arsenm wrote:

I'd somewhat expect this to just collect the unknown width and let the users figure out what to do with it? Would that require widespread changes?

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


More information about the llvm-commits mailing list