summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2015-01-02 10:47:46 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2015-01-02 10:47:46 +0000
commit6477847ef41ce485b811c68bf5dbc5db5451d576 (patch)
treef4f34d824ba86041f7e0fd6965311e7979677736 /llvm/lib/Target/X86
parent6173e869eb916c316a27274579a026faaf02b798 (diff)
downloadbcm5719-llvm-6477847ef41ce485b811c68bf5dbc5db5451d576.tar.gz
bcm5719-llvm-6477847ef41ce485b811c68bf5dbc5db5451d576.zip
Improved comments. No functional change intended.
llvm-svn: 225080
Diffstat (limited to 'llvm/lib/Target/X86')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index c966642ffff..9c281de4915 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -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();
}
OpenPOWER on IntegriCloud