[all-commits] [llvm/llvm-project] ef36f5: [Alignment] TargetLowering::hasPairedLoad must use...
Guillaume Chatelet via All-commits
all-commits at lists.llvm.org
Wed Jul 1 07:32:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ef36f5143d83897cc6f59ff918769d29ad5a0612
https://github.com/llvm/llvm-project/commit/ef36f5143d83897cc6f59ff918769d29ad5a0612
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2020-07-01 (Wed, 01 Jul 2020)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/Analysis/Lint.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
Log Message:
-----------
[Alignment] TargetLowering::hasPairedLoad must use Align for RequiredAlignment
As per documentation of `hasPairLoad`:
"`RequiredAlignment` gives the minimal alignment constraints that must be met to be able to select this paired load."
In this sense, `0` is strictly equivalent to `1`. We make this obvious by using `Align` instead of unsigned.
There is only one implementor of this interface.
Differential Revision: https://reviews.llvm.org/D82958
More information about the All-commits
mailing list