[PATCH] D46600: [MergedLoadStoreMotion] Fix a debug invariant bug in mergeStores

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 13:51:49 PDT 2018


davide added inline comments.


================
Comment at: lib/Transforms/Scalar/MergedLoadStoreMotion.cpp:303-305
     ++NStores;
     if (NStores * Size1 >= MagicCompileTimeControl)
       break;
----------------
Ideally, `MagicCompileTimeControl` shouldn't be a thing, but that's a discussion for another day.


Repository:
  rL LLVM

https://reviews.llvm.org/D46600





More information about the llvm-commits mailing list