[PATCH] D54827: [simplifycfg] Handle 3 sequential branches while the first two can infer the third one.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 22 01:06:28 PST 2018


lebedev.ri added inline comments.


================
Comment at: llvm/lib/IR/Instructions.cpp:3401-3402
 
+ICmpInst::Predicate ICmpInst::getAndPredicate(Predicate Pred1,
+                                              Predicate Pred2) {
+  // If the predicates match, return one of them
----------------
This should already exist elsewhere, i think
https://godbolt.org/z/efgnhT


Repository:
  rL LLVM

https://reviews.llvm.org/D54827





More information about the llvm-commits mailing list