brucehoult added a comment. Oh, and by the way, if the user really wants to use a load, they can easily force that by writing a global const (or single element initialized array to be really sure). https://reviews.llvm.org/D52962