[PATCH] D79956: [InstCombine] Teach PromoteCastOfAllocation to not insert a bitcast into the middle of a group of allocas

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 14 13:03:52 PDT 2020


efriedma added a comment.

I'm not sure we really want to go down this path.  We can't reliably guarantee that all static allocas are at the beginning of the entry block; this fix will just make it slightly hard to trip over any resulting issues.


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

https://reviews.llvm.org/D79956





More information about the llvm-commits mailing list