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

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 20:14:22 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.

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


More information about the llvm-commits mailing list