[PATCH] D88315: [AMDGPU] Do not generate mul with 1 in AMDGPU Atomic Optimizer

Mirko Brkusanin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 08:11:18 PDT 2020


mbrkusanin updated this revision to Diff 294714.
mbrkusanin added a comment.

- Added buildMul that checks for mul with 1.


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

https://reviews.llvm.org/D88315

Files:
  llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_optimizations_mul_one.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88315.294714.patch
Type: text/x-patch
Size: 4622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200928/02ac5fcb/attachment.bin>


More information about the llvm-commits mailing list