mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 22:55:15 +00:00
- Add comment to two functions which might be considered as dead code.
- Fix a typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171399 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3b2489f4f
commit
cbf5373603
@ -78,7 +78,7 @@ class ScalarTargetTransformInfo {
|
||||
public:
|
||||
/// PopcntHwSupport - Hardware support for population count. Compared to the
|
||||
/// SW implementation, HW support is supposed to significantly boost the
|
||||
/// performance when the population is dense, and it may or not may degrade
|
||||
/// performance when the population is dense, and it may or may not degrade
|
||||
/// performance if the population is sparse. A HW support is considered as
|
||||
/// "Fast" if it can outperform, or is on a par with, SW implementaion when
|
||||
/// the population is sparse; otherwise, it is considered as "Slow".
|
||||
|
@ -669,12 +669,14 @@ bool LoopIdiomRecognize::runOnCountableLoop() {
|
||||
if (!getDataLayout())
|
||||
return false;
|
||||
|
||||
getDominatorTree();
|
||||
// set DT
|
||||
(void)getDominatorTree();
|
||||
|
||||
LoopInfo &LI = getAnalysis<LoopInfo>();
|
||||
TLI = &getAnalysis<TargetLibraryInfo>();
|
||||
|
||||
getTargetLibraryInfo();
|
||||
// set TLI
|
||||
(void)getTargetLibraryInfo();
|
||||
|
||||
SmallVector<BasicBlock*, 8> ExitBlocks;
|
||||
CurLoop->getUniqueExitBlocks(ExitBlocks);
|
||||
|
Loading…
Reference in New Issue
Block a user