[PATCH] D26682: [AArch64] Handle vector types in replaceZeroVectorStore.
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 12:41:57 PST 2016
MatzeB accepted this revision.
MatzeB added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Target/AArch64/AArch64ISelLowering.cpp:8790
+ unsigned Alignment =
+ std::min(OrigAlignment, 1U << countTrailingZeros(Offset));
SDValue OffsetPtr = DAG.getNode(ISD::ADD, DL, MVT::i64, BasePtr,
----------------
You could use `MinAlign(Offset, 0)` instead of `1U << countTrailingZeros(Offset)`.
https://reviews.llvm.org/D26682
More information about the llvm-commits
mailing list