Change commentary for PowerPC Boolean vector contents.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Tue, 23 Apr 2013 18:49:44 +0000 (18:49 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Tue, 23 Apr 2013 18:49:44 +0000 (18:49 +0000)
No functional change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180131 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelLowering.cpp

index 27dfcdbfead24e673bda1fe4822182c91fb1ff96..3fcafdcbca443fcbcb3ffe1287387bbe05be1fcf 100644 (file)
@@ -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);