[all-commits] [llvm/llvm-project] aaaf0e: [VectorCombine] loosen alignment constraint for lo...
RotateRight via All-commits
all-commits at lists.llvm.org
Wed Dec 16 09:27:02 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aaaf0ec72b062dea09a277e5b9e6bda0a3da55c9
https://github.com/llvm/llvm-project/commit/aaaf0ec72b062dea09a277e5b9e6bda0a3da55c9
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2020-12-16 (Wed, 16 Dec 2020)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/X86/load.ll
Log Message:
-----------
[VectorCombine] loosen alignment constraint for load transform
As discussed in D93229, we only need a minimal alignment constraint
when querying whether a hypothetical vector load is safe. We still
pass/use the potentially stronger alignment attribute when checking
costs and creating the new load.
There's already a test that changes with the minimum code change,
so splitting this off as a preliminary commit independent of any
gep/offset enhancements.
Differential Revision: https://reviews.llvm.org/D93397
More information about the All-commits
mailing list