[PATCH] D143963: AMDGPU: Override getNegatedExpression constant handling

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 09:13:00 PST 2023


foad added a comment.

In D143963#4131640 <https://reviews.llvm.org/D143963#4131640>, @foad wrote:

> `llc -march=amdgcn -mcpu=gfx1030` hangs on this test case:
>
>   define float @f(float %arg) {
>   bb:
>     %i = fmul float %arg, 0.0
>     %i1 = fsub float 0.0, %i
>     ret float %i1
>   }
>
> Could you please fix or revert?

I've reverted the patch and added this test case to `test/CodeGen/AMDGPU/fneg-combines.new.ll`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143963/new/

https://reviews.llvm.org/D143963



More information about the llvm-commits mailing list