[all-commits] [llvm/llvm-project] 4fc98c: [NFC][LoopIdiom] Let processLoopStoreOfLoopLoad ta...

Yueh-Ting (Eop) Chen via All-commits all-commits at lists.llvm.org
Sat Aug 21 00:03:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fc98ca6174ad173abc48646b713c91fd50e7182
      https://github.com/llvm/llvm-project/commit/4fc98ca6174ad173abc48646b713c91fd50e7182
  Author: eopXD <eop.chen at sifive.com>
  Date:   2021-08-21 (Sat, 21 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

  Log Message:
  -----------
  [NFC][LoopIdiom] Let processLoopStoreOfLoopLoad take StoreSize as SCEV instead of unsigned

Letting it take SCEV allows further modification on the function to optimize
if the StoreSize / Stride is runtime determined.

The plan is to let memcpy / memmove deal with runtime-determined sizes, just
like what D107353 did to memset.

Reviewed By: bmahjour

Differential Revision: https://reviews.llvm.org/D108289




More information about the All-commits mailing list