[PATCH] D77089: [CallSiteSplitting] Simplify isPredicateOnPHI & continue checking PHIs.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 14:44:20 PDT 2020


davidxl added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp:437
+        continue;
+      if (isa<Constant>(PN.getIncomingValue(0)) &&
+          isa<Constant>(PN.getIncomingValue(1)))
----------------
Should this be relaxed too -- allow splitting when there is one constant value?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77089





More information about the llvm-commits mailing list