shawnl added a comment. I am going to drop this as this optimization really belongs in visitGEP, same with the bitmask code in this file. Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61840/new/ https://reviews.llvm.org/D61840