[PATCH] D97732: [AArch64][GlobalISel] Enable use of the optsize predicate in the selector.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 1 13:58:30 PST 2021


arsenm added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h:480
+    return MF->getFunction().hasOptSize() ||
+           (PSI && BFI && CurMBB && llvm::shouldOptForSize(*CurMBB, PSI, BFI));
+  }
----------------
Why would CurMBB ever be null?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97732/new/

https://reviews.llvm.org/D97732



More information about the llvm-commits mailing list