[PATCH] D59024: [CGP] Limit distance between overflow math and cmp
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 11 03:18:18 PDT 2019
dmgreen added inline comments.
================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:1193
+ bool Found = false;
+ for (auto *Succ : successors(Dominator)) {
+ if (Succ == Dominated) {
----------------
Can you use std::find (or llvm::find)?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59024/new/
https://reviews.llvm.org/D59024
More information about the llvm-commits
mailing list