[PATCH] D84089: [PredicateInfo] Fold PredicateWithCondition into PredicateBase (NFC).

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 18 04:10:52 PDT 2020


nikic added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/NewGVN.cpp:1542
 
-  auto *PWC = dyn_cast<PredicateWithCondition>(PI);
+  auto *PWC = dyn_cast<PredicateBase>(PI);
   if (!PWC)
----------------
This shouldn't be needed anymore -- PI is already PredicateBase.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84089/new/

https://reviews.llvm.org/D84089





More information about the llvm-commits mailing list