Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LLVM bpEVL
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Albano
LLVM bpEVL
Commits
d67ca0ed
"README.md" did not exist on "d57f9f0c90ac62342d768e6e57d78394d481f649"
Commit
d67ca0ed
authored
14 years ago
by
Owen Anderson
Browse files
Options
Downloads
Patches
Plain Diff
Revert r114919, which caused some serious regressions on ARM.
llvm-svn: 115053
parent
2e566e04
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
+1
-6
1 addition, 6 deletions
llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
with
1 addition
and
6 deletions
llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
+
1
−
6
View file @
d67ca0ed
...
...
@@ -158,12 +158,7 @@ bool LoopUnroll::runOnLoop(Loop *L, LPPassManager &LPM) {
DEBUG
(
dbgs
()
<<
" Not unrolling loop with inlinable calls.
\n
"
);
return
false
;
}
// NOTE: We multiply by the loop depth because unrolling inner loops of
// very deep nests tends to result in high register pressure, which we don't
// currently recover from very well. When and if the register allocator/
// spiller improves to compensate, this should be re-evaluated.
uint64_t
Size
=
(
uint64_t
)
LoopSize
*
Count
*
L
->
getLoopDepth
();
uint64_t
Size
=
(
uint64_t
)
LoopSize
*
Count
;
if
(
TripCount
!=
1
&&
Size
>
CurrentThreshold
)
{
DEBUG
(
dbgs
()
<<
" Too large to fully unroll with count: "
<<
Count
<<
" because size: "
<<
Size
<<
">"
<<
CurrentThreshold
<<
"
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment