qcolombet added a comment. Hi Michael, Thanks for the clarification. I would go differently and make the constants produced by constants hoisting "more opaqueā€¯, so that it also works within a basic block. Cheers, -Quentin http://reviews.llvm.org/D11363