[PATCH] D88799: [MemCpyOpt] Check for throwing calls during call slot optimization

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 18:12:55 PDT 2020


jdoerfert added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp:847
+    }
+  }
+
----------------
You could use the fn attributes to avoid this loop all together. `nounwind` should imply this just fine.


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

https://reviews.llvm.org/D88799



More information about the llvm-commits mailing list