[PATCH] D148463: [AMDGPU] Ressociate patterns with sub to use SALU
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 18 09:32:37 PDT 2023
foad added a comment.
Here's a test case for the infinite loop. Can you please fix or revert?
; RUN: llc -march=amdgcn -mcpu=gfx1030 < %s
define amdgpu_cs void @f(i32 inreg %arg, i32 %arg1) {
bb:
%i = add i32 %arg1, %arg
%i2 = sub i32 0, %i
call void @llvm.amdgcn.raw.buffer.store.i32(i32 %i2, <4 x i32> zeroinitializer, i32 0, i32 0, i32 0)
ret void
}
declare void @llvm.amdgcn.raw.buffer.store.i32(i32, <4 x i32>, i32, i32, i32 immarg)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148463/new/
https://reviews.llvm.org/D148463
More information about the llvm-commits
mailing list