[llvm] [SandboxVec][SeedCollector] Reject non-simple memory ops for memory seeds (PR #116891)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 11:19:58 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())
----------------
Sterling-Augustine wrote:

added

https://github.com/llvm/llvm-project/pull/116891


More information about the llvm-commits mailing list