[llvm] Reject non-simple memory ops for memory seeds, but continue testing (PR #116891)
Jorge Gorbe Moya via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 19 16:09:27 PST 2024
================
@@ -140,8 +140,8 @@ LLVM_DUMP_METHOD void SeedContainer::dump() const { print(dbgs()); }
#endif // NDEBUG
template <typename LoadOrStoreT> static bool isValidMemSeed(LoadOrStoreT *LSI) {
- if (LSI->isSimple())
- return true;
+ if (!LSI->isSimple())
----------------
slackito wrote:
Is there any test for cases where the LoadOrStoreT is simple, but one of the later checks fails?
https://github.com/llvm/llvm-project/pull/116891
More information about the llvm-commits
mailing list