[llvm] [FuncSpec] Update function specialization to handle phi-chains (PR #72903)
Alexandros Lamprineas via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 21 07:02:38 PST 2023
================
@@ -0,0 +1,54 @@
+; RUN: opt -passes="ipsccp<func-spec>" -funcspec-min-function-size=20 -funcspec-for-literal-constant -S < %s
----------------
labrinea wrote:
Have you checked `-funcspec-min-function-size=20` is the "size" of bar? The function seems smaller than the previous example just above. I would expect a lower value would allow specialization. If you have checked that the test is passing disregard this comment.
https://github.com/llvm/llvm-project/pull/72903
More information about the llvm-commits
mailing list