[llvm-commits] [PATCH][FastMath, InstCombine] Fadd/Fsub optimizations
Shuxin Yang
shuxin.llvm at gmail.com
Mon Dec 17 16:55:45 PST 2012
>By the same logic, why isn't the quota 3 for the case where nothing is
multi-use? Or are you concerned about the transformation falling into an
infinite loop?
I only try to optimize "this instruction" along with at most two
neighboring instructions.
So the input has at most 3 instr, and the up-bound for the output quota
is 3-1 = 2.
I don't like to scale this optimization in InstCombine as it supposed to
be extremely fast.
More information about the llvm-commits
mailing list