[PATCH] D88325: IR: Reject unsized sret in verifier

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 12:50:28 PDT 2020


jdoerfert added a comment.

I'm in favor.



================
Comment at: llvm/test/Transforms/MemCpyOpt/memcpy.ll:234
-}
-
 ; don't create new addressspacecasts when we don't know they're safe for the target
----------------
FWIW, this was introduced in bd254f260127 and I cannot tell if such code should even be legal in the first place (and this patch says its not)


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

https://reviews.llvm.org/D88325



More information about the llvm-commits mailing list