diff options
author | Hal Finkel <hfinkel@anl.gov> | 2016-03-28 22:39:35 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2016-03-28 22:39:35 +0000 |
commit | 69ada2f514cf5b27e9e5a0eab2bb1c59caef4900 (patch) | |
tree | 4b405093693a9699a8531fa99bae1525c1190925 /llvm/lib/Target/PowerPC | |
parent | c9d546c2915de3c9c5ad2f84ab3b8016d4aab6a0 (diff) | |
download | bcm5719-llvm-69ada2f514cf5b27e9e5a0eab2bb1c59caef4900.tar.gz bcm5719-llvm-69ada2f514cf5b27e9e5a0eab2bb1c59caef4900.zip |
[PowerPC] Clarify a comment in PPCTTI about vector loads
This should say that we could do unaligned vector loads on the P7 using VSX
instructions, not that we should.
llvm-svn: 264683
Diffstat (limited to 'llvm/lib/Target/PowerPC')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp index 390faf59961..879671b51b3 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp @@ -375,7 +375,7 @@ int PPCTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, // If we can use the permutation-based load sequence, then this is also // relatively cheap (not counting loop-invariant instructions): one load plus // one permute (the last load in a series has extra cost, but we're - // neglecting that here). Note that on the P7, we should do unaligned loads + // neglecting that here). Note that on the P7, we could do unaligned loads // for Altivec types using the VSX instructions, but that's more expensive // than using the permutation-based load sequence. On the P8, that's no // longer true. |