[llvm] [AMDGPU] Prevent cyclic behaviour in SIFoldOperands (PR #82099)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 08:02:07 PST 2024


jayfoad wrote:

> An example would be
> 
> UseMI: %49:vgpr_32 = V_MUL_HI_U32_e64 %5:vgpr_32, %35.sub0:sreg_64, implicit $exec
> 
> and
> 
> RSUseMI: %77:vgpr_32 = V_MUL_HI_U32_e64 %75:vgpr_32, %35.sub0:sreg_64, implicit $exec

I don't understand how this would cause infinite recursion.

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


More information about the llvm-commits mailing list