[all-commits] [llvm/llvm-project] 0827e2: [AArch64] Fix incorrect `isLegalAddressingMode`
Momchil Velikov via All-commits
all-commits at lists.llvm.org
Thu Apr 20 07:45:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0827e2fa3fd15b49fd2d0fc676753f11abb60cab
https://github.com/llvm/llvm-project/commit/0827e2fa3fd15b49fd2d0fc676753f11abb60cab
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
M llvm/test/Transforms/LoopStrengthReduce/AArch64/lsr-pre-inc-offset-check.ll
A llvm/unittests/Target/AArch64/AddressingModes.cpp
M llvm/unittests/Target/AArch64/CMakeLists.txt
Log Message:
-----------
[AArch64] Fix incorrect `isLegalAddressingMode`
`AArch64TargetLowering::isLegalAddressingMode` has a number of
defects, including accepting an addressing mode which consists of only
an immediate operand, or not checking the offset range for an
addressing mode in the form `1*ScaledReg + Offs`.
This patch fixes the above issues.
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D143895
Change-Id: I756fa21941844ded44f082ac7eea4391219f9851
More information about the All-commits
mailing list