[all-commits] [llvm/llvm-project] 591b02: [AMDGPU] Optimized indirect multi-VGPR addressing
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Wed May 13 14:53:36 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 591b029f40f7f23b298d2f4718d7552f4f7f7fac
https://github.com/llvm/llvm-project/commit/591b029f40f7f23b298d2f4718d7552f4f7f7fac
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
M llvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
M llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
M llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
Log Message:
-----------
[AMDGPU] Optimized indirect multi-VGPR addressing
SelectMOVRELOffset prevents peeling of a constant from an index
if final base could be negative. isBaseWithConstantOffset() succeeds
if a value is an "add" or "or" operator. In case of "or" it shall
be an add-like "or" which never changes a sign of the sum given a
non-negative offset. I.e. we can safely allow peeling if operator is
an "or".
Differential Revision: https://reviews.llvm.org/D79898
More information about the All-commits
mailing list