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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 14 13:03:55 PDT 2020


craig.topper added a comment.

FWIW, there's another place in InstCombine that does something like this,  simplifyAllocaArraySize in InstCombineLoadStoreAlloca.cpp  So I thought maybe this was desired behavior.


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

https://reviews.llvm.org/D79956





More information about the llvm-commits mailing list