[llvm] [DAG] visitFREEZE - always allow freezing multiple operands (PR #145939)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 26 13:46:56 PDT 2025


RKSimon wrote:

> > This patch proposes we drop the opt-in limit for opcodes that are allowed to push a freeze through the op to freeze all its operands, bringing us more in line with how InstCombine handles pushing freeze through the tree to the roots.
> 
> This actually diverges from InstCombine, which only allows freezing one op.

My mistake - I should have actually checked this instead of thinking I remembered how I thought it was handled :( 


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


More information about the llvm-commits mailing list