diff options
author | Mirko Brkusanin <Mirko.Brkusanin@amd.com> | 2020-09-29 16:35:42 +0200 |
---|---|---|
committer | Mirko Brkusanin <Mirko.Brkusanin@amd.com> | 2020-09-30 11:09:18 +0200 |
commit | 0249df33fec16b728e2d33cae02f5da4c9f74e38 (patch) | |
tree | c56a5a38c95fc6b9e4986d81a18486e0e8a9ea8c /llvm/lib/CodeGen/SplitKit.cpp | |
parent | 64e8fd540ecc38ee3daf942499091589785e2733 (diff) | |
download | llvm-0249df33fec16b728e2d33cae02f5da4c9f74e38.zip llvm-0249df33fec16b728e2d33cae02f5da4c9f74e38.tar.gz llvm-0249df33fec16b728e2d33cae02f5da4c9f74e38.tar.bz2 |
[AMDGPU] Do not generate mul with 1 in AMDGPU Atomic Optimizer
Check if operand of mul is constant value of one for certain atomic
instructions in order to avoid making unnecessary instructions when
-amdgpu-atomic-optimizer is present.
Differential Revision: https://reviews.llvm.org/D88315
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions