[NFC][loop-idiom] Rename Stores to IgnoredInsts; Fix a typo
authorHan Zhu <zhuhan7737@gmail.com>
Wed, 18 Aug 2021 06:39:29 +0000 (23:39 -0700)
committerHan Zhu <zhuhan7737@gmail.com>
Wed, 18 Aug 2021 17:52:16 +0000 (10:52 -0700)
commit687f046c979a10bdd865b0bed0d9043f594658b8
treedf922848be8aeb7d68c3a93149cdba16ccdf8e46
parentd9873711cb03ac7aedcaadcba42f82c66e962e6e
[NFC][loop-idiom] Rename Stores to IgnoredInsts; Fix a typo

When dealing with memmove, we also add the load instruction to the ignored
instructions list passed to `mayLoopAccessLocation`. Renaming "Stores" to
"IgnoredInsts" to be more precise.

Differential Revision: https://reviews.llvm.org/D108275
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp