[llvm] [AMDGPU] Fix opcode comparison logic for G_INTRINSIC (PR #156008)

Piotr Balcer via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 29 05:57:46 PDT 2025


pbalcer wrote:

> > This patch reorders the conditionals to first check for G_INTRINSIC, ensuring correct handling of the amdgcn_fdot2 intrinsic.
> 
> Missing test?

Possibly. To be honest, I'm not sure whether this is a real issue or not. This was found by static code analysis in Intel's LLVM fork, and it looked like something worth reporting. I'd appreciate input, a test, from someone more familiar with AMDGPU backend.

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


More information about the llvm-commits mailing list