[PATCH] D108112: [LoopIdiom] Let LIR fold memset pointer / stride SCEV regarding loop guards

Bardia Mahjour via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 10 11:02:44 PST 2021


bmahjour added inline comments.


================
Comment at: llvm/test/Transforms/LoopIdiom/memset-runtime.ll:110-140
+; The C code to generate this testcase:
+; void test(int n, int m, int o, int *ar)
+; {
+;   for (int i=0; i<n; ++i) {
+;     for (int j=0; j<m; ++j) {
+;       int *arr = ar + i * m * o + j * o;
+;       memset(arr, 0, o * sizeof(int));
----------------
Why is this test removed?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108112



More information about the llvm-commits mailing list