vg0204
vg0204
> DC's patches > It seems DC's patches fix the issue, so we do not need to revert your patch. > > [93526](https://github.com/llvm/llvm-project/pull/93526) : [AMDGPU] Split VGPR regalloc pipeline >...
Yeah, sounds good!
@yxsamliu , I relanded the patch, can you please once check for the failing blender test to verify its correctness, so this issue can be finally closed!
@c8ef, as the instruction folding is being performed for an exponent-based instruction, it supposedly should be done only if approxFunc bit of fastMathFlag is set I feel. This solved the...
> > @c8ef, as the instruction folding is being performed for an exponent-based instruction, it supposedly should be done only if approxFunc bit of fastMathFlag is set I feel. >...
The mainly observed IR pattern difference (immediately after instcombine pass incorporating mentioned intruction folding) is as follows : Without the Idexp folding. ``` %30 = tail call { double, i32...
As for the final ISA difference in assembly file, while those ldexp not folded gets translated into AMD's v_ldexp instruction, the others got folded translates into bunch of instruction along...
Attached zip file contain IR immediately after instCombine pass for both with & without ldexp folding, & the diff between the final assembly. [fail-after-instcombine.zip](https://github.com/user-attachments/files/16833331/fail-after-instcombine.zip) [FinalAssemblyDiff.zip](https://github.com/user-attachments/files/16833336/FinalAssemblyDiff.zip) [pass-after-instcombine.zip](https://github.com/user-attachments/files/16833337/pass-after-instcombine.zip) As for the hipcc...
> > ping @arsenm > > It would be more helpful if you posted full the full IR not the -print-before (which adds the comments, and missing the global pieces...