summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-04-23 18:49:44 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-04-23 18:49:44 +0000
commitfa799112ddd69cebc6bacb9e24feb1298c9cdfb5 (patch)
treea7c3417f4e318e5d267147c977d3e6e6abda9772 /lib/Target/PowerPC/PPCISelLowering.cpp
parente311b00a912b9f1a1e8fc1d28b2e58a015d250ec (diff)
downloadllvm-fa799112ddd69cebc6bacb9e24feb1298c9cdfb5.tar.gz
llvm-fa799112ddd69cebc6bacb9e24feb1298c9cdfb5.tar.bz2
llvm-fa799112ddd69cebc6bacb9e24feb1298c9cdfb5.tar.xz
Change commentary for PowerPC Boolean vector contents.
No functional change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180131 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp
index 27dfcdbfea..3fcafdcbca 100644
--- a/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -514,7 +514,8 @@ PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)
setOperationAction(ISD::ATOMIC_STORE, MVT::i64, Expand);
setBooleanContents(ZeroOrOneBooleanContent);
- setBooleanVectorContents(ZeroOrNegativeOneBooleanContent); // FIXME: Is this correct?
+ // Altivec instructions set fields to all zeros or all ones.
+ setBooleanVectorContents(ZeroOrNegativeOneBooleanContent);
if (isPPC64) {
setStackPointerRegisterToSaveRestore(PPC::X1);