[llvm] [X86][NF] Switch the order of Inst and &Target.getInstruction(NewRec) (PR #130739)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 11 07:49:40 PDT 2025


RKSimon wrote:

> > Is there any EXPENSIVE_CHECK sorted/unique assertions we can add to check for this (IIRC like the fold tables use?)
> 
> Do you want this [cf705bb](https://github.com/llvm/llvm-project/commit/cf705bba502429dc24d58c6209f30777b7bcb109)

Yes - thank you (someday it'd be great if we could constexpr this though.....)

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


More information about the llvm-commits mailing list