[llvm-branch-commits] [clang] [llvm] [InstCombine] Canonicalize atomicrmw sub of a constant to add (PR #232626)
Harrison Hao via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Oct 16 20:36:38 PDT 2026
harrisonGPU wrote:
> oh nice, I added this as an expansion in AtomicExpand actually, but it makes more sense to put into instcombine and we can remove from AtomicExpand. Can you add a test case to make sure vector atomics and elementwise vector atomics also work for this?
Thanks, I have added vector tests, and only NVPTX support elementiwse vector right now.
https://github.com/llvm/llvm-project/pull/232626
More information about the llvm-branch-commits
mailing list