Skip to content

Commit b1a66c5

Browse files
committed
Fixup comment
1 parent a635d7a commit b1a66c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27927,8 +27927,9 @@ bool AArch64TargetLowering::isIntDivCheap(EVT VT, AttributeList Attr) const {
2792727927
bool AArch64TargetLowering::canMergeStoresTo(unsigned AddressSpace, EVT MemVT,
2792827928
const MachineFunction &MF) const {
2792927929
// Avoid merging stores into fixed-length vectors when Neon is unavailable.
27930-
// Until we have more general SVE lowerings for BUILD_VECTOR this may
27931-
// introduce stack spills.
27930+
// In future, we could allow this when SVE is available, but currently,
27931+
// the SVE lowerings for BUILD_VECTOR are limited to a few specific cases (and
27932+
// the general lowering may introduce stack spills/reloads).
2793227933
if (MemVT.isFixedLengthVector() && !Subtarget->isNeonAvailable())
2793327934
return false;
2793427935

0 commit comments

Comments
 (0)