[PATCH] D11918: Constant propagation after hiting assume(icmp)
Piotr Padlewski via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 15:43:25 PDT 2015
Prazek marked an inline comment as done.
================
Comment at: lib/Transforms/Scalar/GVN.cpp:2231
@@ +2230,3 @@
+ if (ICmpInst *ICmpI = dyn_cast<ICmpInst>(V)) {
+ if (ICmpI->getSignedPredicate() == ICmpInst::Predicate::ICMP_EQ) {
+
----------------
dberlin wrote:
> Why only ICMP_EQ?
You mean to add fcmp also?
http://reviews.llvm.org/D11918
More information about the llvm-commits
mailing list