[llvm] [LoopIdiom] Select llvm.experimental.memset.pattern intrinsic rather than memset_pattern16 libcall (PR #126736)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Wed May 14 12:53:03 PDT 2025


================
@@ -1419,7 +1467,7 @@ bool LoopIdiomRecognize::processLoopStoreOfLoopLoad(
   AAMDNodes AATags = TheLoad->getAAMetadata();
   AAMDNodes StoreAATags = TheStore->getAAMetadata();
   AATags = AATags.merge(StoreAATags);
-  if (auto CI = dyn_cast<ConstantInt>(NumBytes))
+  if (auto *CI = dyn_cast<ConstantInt>(NumBytes))
----------------
preames wrote:

precommit this please

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


More information about the llvm-commits mailing list