[PATCH] D156077: [AMDGPU] Propagate constants for llvm.amdgcn.wave.reduce.umin/umax
Pravin Jagtap via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 25 18:47:22 PDT 2023
pravinjagtap added inline comments.
================
Comment at: llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/wave.reduce.ll:64
+
+ at gv = constant i32 0
+define amdgpu_kernel void @test_constant_fold_wave_reduce_umax_gv(ptr addrspace(1) %out) {
----------------
This usecase is not being optimized (const-fold).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156077/new/
https://reviews.llvm.org/D156077
More information about the llvm-commits
mailing list