efriedma added a comment. Almost all the new setDoesNotCapture calls are wrong. If a call returns a pointer base on an argument, it can't be marked nocapture. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D89645/new/ https://reviews.llvm.org/D89645