[llvm] r225080 - Improved comments. No functional change intended.

Andrea Di Biagio Andrea_DiBiagio at sn.scee.net
Fri Jan 2 02:47:46 PST 2015


Author: adibiagio
Date: Fri Jan  2 04:47:46 2015
New Revision: 225080

URL: http://llvm.org/viewvc/llvm-project?rev=225080&view=rev
Log:
Improved comments. No functional change intended.

Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=225080&r1=225079&r2=225080&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Fri Jan  2 04:47:46 2015
@@ -3883,12 +3883,12 @@ bool X86TargetLowering::isExtractSubvect
 }
 
 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();
 }
 





More information about the llvm-commits mailing list