[PATCH] D49385: [IPSCCP] Run Solve each time we resolved an undef in a function.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 16 17:33:44 PDT 2018
efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.
Oh, didn't realize we kept separate worklists like that. LGTM, then.
================
Comment at: test/Transforms/SCCP/ipsccp-basic.ll:256
; CHECK: %[[call1:.*]] = call i64 @test11a()
-; CHECK: %[[call2:.*]] = call i64 @llvm.ctpop.i64(i64 0)
+; CHECK-NOT: call i64 @llvm.ctpop.i64
}
----------------
Please change this test to return the result of the ctpop call, so it's clear it's getting folded to zero or whatever.
https://reviews.llvm.org/D49385
More information about the llvm-commits
mailing list