[PATCH] D159193: [AArch64][SME] Disable remat of VL-dependent ops when function changes streaming mode.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 08:12:49 PDT 2023


paulwalker-arm accepted this revision.
paulwalker-arm added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:8547
+
+    // Avoid rematerializing instructions that return a value that is
+    // different depending on vector length, even when it is not returned
----------------
Perhaps worth saying "Avoid rematerializing rematerializable instructions...".  This might be obvious but for a second I nearly asked "Should this block also include the inc/dec instructions?"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159193



More information about the llvm-commits mailing list