[CodeGenPrepare] Rewrite a loop in terms of llvm::none_of. NFC.
authorJustin Lebar <jlebar@google.com>
Mon, 21 Nov 2016 22:49:11 +0000 (22:49 +0000)
committerJustin Lebar <jlebar@google.com>
Mon, 21 Nov 2016 22:49:11 +0000 (22:49 +0000)
commit838c7f5a85a96f642fea0e2167c92e32682222b6
tree447419a69438fc717fca2d82329bcf41c7c45751
parent54fa41b99c7f9d6e042cd61ebe9dc30aab7693cc
[CodeGenPrepare] Rewrite a loop in terms of llvm::none_of.  NFC.

Reviewers: arsenm

Subscribers: wdng, llvm-commits

Differential Revision: https://reviews.llvm.org/D26924

llvm-svn: 287590
llvm/lib/CodeGen/CodeGenPrepare.cpp