[PATCH] D65148: [SimplifyCFG] Bump phi-node-folding-threshold from 2 to 3
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 4 16:07:45 PDT 2019
efriedma added a comment.
> So, what metric specifically do you want to see, a count of CMOV instructions at the end of codegen, how it is changed by this patch?
I guess more the number of branches at the end of codegen... because there are really three possibilities here: the select is lowered to cmov, the select is lowered to branch, or the select gets optimized to some non-select computation. But yes, something like that. I would guess most of the selects generated this way can't be significantly optimized, so if everything is working correctly, most of them should be getting converted back to branches.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65148/new/
https://reviews.llvm.org/D65148
More information about the llvm-commits
mailing list