Improved comments. No functional change intended.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 2 Jan 2015 10:47:46 +0000 (10:47 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 2 Jan 2015 10:47:46 +0000 (10:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225080 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index c966642ffff30ee7ebe7f76f6148db9a78090df9..9c281de49154dad5fcc5b3bfb400a734e83acfc3 100644 (file)
@@ -3883,12 +3883,12 @@ bool X86TargetLowering::isExtractSubvectorCheap(EVT ResVT,
 }
 
 bool X86TargetLowering::isCheapToSpeculateCttz() const {
-  // Don't try to speculate cttz if we can't directly use TZCNT.
+  // Speculate cttz only if we can directly use TZCNT.
   return Subtarget->hasBMI();
 }
 
 bool X86TargetLowering::isCheapToSpeculateCtlz() const {
-  // Don't try to speculate ctlz if we can't directly use LZCNT.
+  // Speculate ctlz only if we can directly use LZCNT.
   return Subtarget->hasLZCNT();
 }