[PATCH] D84821: [InstCombine] Don't transfer BitCastInst at InstCombine pass when the user of BitCast is lifetime marker

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 15:03:58 PDT 2020


lebedev.ri added a comment.

In D84821#2183027 <https://reviews.llvm.org/D84821#2183027>, @nikic wrote:

> I don't think this is the right approach to the problem.



> Can you give some more information on which places in LLVM assume that only bitcasts feed into lifetime intrinsics?

I'm not sure any such assumption being made is sane. Those passes should be fixed instead.


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

https://reviews.llvm.org/D84821



More information about the llvm-commits mailing list