[all-commits] [llvm/llvm-project] c8e339: [VP] Propagate align parameter attr on VP gather/s...
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Tue Jan 18 09:43:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c8e33978fb735059c588c88baa36b3891a90132b
https://github.com/llvm/llvm-project/commit/c8e33978fb735059c588c88baa36b3891a90132b
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2022-01-18 (Tue, 18 Jan 2022)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Log Message:
-----------
[VP] Propagate align parameter attr on VP gather/scatter to ISel
This patch fixes a case where the 'align' parameter attribute on the
pointer operands to llvm.vp.gather and llvm.vp.scatter was being dropped
during the conversion to the SelectionDAG. The default alignment equal
to the ABI type alignment of the vector type was kept. It also updates
the documentation to reflect the fact that the parameter attribute is
now properly supported.
The default alignment of these intrinsics was previously documented as
being equal to the ABI alignment of the *scalar* type, when in fact that
wasn't the case: the ABI alignment of the vector type was used instead.
This has also been fixed in this patch.
Reviewed By: simoll, craig.topper
Differential Revision: https://reviews.llvm.org/D114423
More information about the All-commits
mailing list