[all-commits] [llvm/llvm-project] bf147c: [LSR] Fix for pre-indexed generated constant offset
Stelios Ioannou via All-commits
all-commits at lists.llvm.org
Thu Apr 15 08:49:17 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bf147c465352ed69f6fdaace26e9566bc442ade2
https://github.com/llvm/llvm-project/commit/bf147c465352ed69f6fdaace26e9566bc442ade2
Author: Stelios Ioannou <stelios.ioannou at arm.com>
Date: 2021-04-15 (Thu, 15 Apr 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
M llvm/test/CodeGen/AMDGPU/cf-loop-on-constant.ll
A llvm/test/Transforms/LoopStrengthReduce/AArch64/lsr-pre-inc-offset-check.ll
M llvm/test/Transforms/LoopStrengthReduce/AMDGPU/atomics.ll
M llvm/test/Transforms/LoopStrengthReduce/AMDGPU/different-addrspace-addressing-mode-loops.ll
Log Message:
-----------
[LSR] Fix for pre-indexed generated constant offset
This patch changed the isLegalUse check to ensure that
LSRInstance::GenerateConstantOffsetsImpl generates an
offset that results in a legal addressing mode and
formula. The check is changed to look similar to the
assert check used for illegal formulas.
Differential Revision: https://reviews.llvm.org/D100383
Change-Id: Iffb9e32d59df96b8f072c00f6c339108159a009a
More information about the All-commits
mailing list