[llvm] [LICM] Hoisting writeonly calls (PR #143799)

Jiachen Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 16 11:19:17 PDT 2025


WanderingAura wrote:

> It looks like a writeonly function is getting hoisting in CodeGen/AMDGPU/loop_exit_with_xor.ll and I'm not sure if it's incorrect behaviour.

I've assumed that it's correct behaviour and changed the test accordingly. I'd appreciate it if someone knowledgeable about the AMDGPU backend can have a look to check.


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


More information about the llvm-commits mailing list