[llvm] [RISCV] Add getJumpConditionMergingParams to support branch condition merging (PR #206897)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 01:28:21 PDT 2026


wangpc-pp wrote:

> > > Can we plumb the function through the hook and check hasOptSize/hasMinSize to prevent code size increases on Os/Oz?
> > 
> > 
> > I tried but we can't get hasOptSize/hasMinSize with current signature. I can change it to pass a DAG parameter if we agree to go in that way.
> 
> I believe was suggesting passing the Function*

Done. I misunderstood what Luke was saying. :-)

https://github.com/llvm/llvm-project/pull/206897


More information about the llvm-commits mailing list