[PATCH] D116148: [MemoryLocation] Don't require nocapture in getForDest()

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 22 02:59:06 PST 2021


fhahn accepted this revision.
fhahn added a comment.
This revision is now accepted and ready to land.

LGTM, thanks!



================
Comment at: llvm/test/Transforms/DeadStoreElimination/trivial-dse-calls.ll:223
+
+; Cannot remove call, as the captured pointer is used via the return value.
+define i8 @test_neg_unrelated_capture_used_via_return() {
----------------
nit: %bitcast2 may by captured via the return value.


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

https://reviews.llvm.org/D116148



More information about the llvm-commits mailing list