Revision tags: llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3 |
|
#
e4813409 |
| 20-Aug-2015 |
Adam Nemet <anemet@apple.com> |
[LVer] Fix FIXME: hide addPHINodes, NFC
Since Ashutosh made findDefsUsedOutsideOfLoop public, we can clean this up.
Now clients that don't compute DefsUsedOutsideOfLoop can just call versionLoop()
[LVer] Fix FIXME: hide addPHINodes, NFC
Since Ashutosh made findDefsUsedOutsideOfLoop public, we can clean this up.
Now clients that don't compute DefsUsedOutsideOfLoop can just call versionLoop() and computing DefsUsedOutsideOfLoop will happen implicitly. With that there is no reason to expose addPHINodes anymore.
Ashutosh, you can now drop the calls to findDefsUsedOutsideOfLoop and addPHINodes in LVerLICM and things should just work.
llvm-svn: 245579
show more ...
|
#
06ccf014 |
| 14-Aug-2015 |
Adam Nemet <anemet@apple.com> |
[LVer] Remove unused Pass parameter from versionLoop, NFC
llvm-svn: 245032
|
Revision tags: studio-1.4 |
|
#
dfaeb33e |
| 12-Aug-2015 |
Adam Nemet <anemet@apple.com> |
[LoopVer] Optionally allow using memchecks from LAA
r243382 changed the behavior to always require a set of memchecks to be passed to LoopVer. This change restores the prior behavior as an alternat
[LoopVer] Optionally allow using memchecks from LAA
r243382 changed the behavior to always require a set of memchecks to be passed to LoopVer. This change restores the prior behavior as an alternative to the new behavior. This allows the checks to be implicitly taken from the LAA object.
Patch by Ashutosh Nema!
llvm-svn: 244763
show more ...
|
#
5b0a4795 |
| 11-Aug-2015 |
Adam Nemet <anemet@apple.com> |
[LAA] Change name from addRuntimeCheck to addRuntimeChecks, NFC
This was requested by Hal in D11205.
llvm-svn: 244540
|
#
0bc06872 |
| 10-Aug-2015 |
Adam Nemet <anemet@apple.com> |
[LoopVer] Remove unused pointer partition argument, NFC.
llvm-svn: 244527
|
#
6b6082dc |
| 03-Aug-2015 |
Adam Nemet <anemet@apple.com> |
[LoopVer] Remove unused needsRuntimeChecks(), NFC
The previous commits moved this functionality into the client.
Also remove the now unused member variable.
llvm-svn: 243920
|
Revision tags: llvmorg-3.7.0-rc2 |
|
#
252d529b |
| 30-Jul-2015 |
Adam Nemet <anemet@apple.com> |
[LoopVer] Add missing std::move
The reason I was passing this vector by value in the constructor so that I wouldn't have to copy when initializing the corresponding member but then I forgot the std:
[LoopVer] Add missing std::move
The reason I was passing this vector by value in the constructor so that I wouldn't have to copy when initializing the corresponding member but then I forgot the std::move.
The use-case is LoopDistribution which filters the checks then std::moves it to LoopVersioning's constructor. With this interface we can avoid any copies.
llvm-svn: 243616
show more ...
|
#
0a674401 |
| 28-Jul-2015 |
Adam Nemet <anemet@apple.com> |
[LDist][LVer] Explicitly pass the set of memchecks to LoopVersioning, NFC
Before the patch, the checks were generated internally in addRuntimeCheck. Now, we use the new overloaded version of addRun
[LDist][LVer] Explicitly pass the set of memchecks to LoopVersioning, NFC
Before the patch, the checks were generated internally in addRuntimeCheck. Now, we use the new overloaded version of addRuntimeCheck that takes the ready-made set of checks as a parameter.
The checks are now generated by the client (LoopDistribution) with the new RuntimePointerChecking::generateChecks API.
Also the new printChecks API is used to print out the checks for debugging.
This is to continue the transition over to the new model whereby clients will get the full set of checks from LAA, filter it and then pass it to LoopVersioning and in turn to addRuntimeCheck.
llvm-svn: 243382
show more ...
|
Revision tags: llvmorg-3.7.0-rc1 |
|
#
7cdebac0 |
| 14-Jul-2015 |
Adam Nemet <anemet@apple.com> |
[LAA] Lift RuntimePointerCheck out of LoopAccessInfo, NFC
I am planning to add more nested classes inside RuntimePointerCheck so all these triple-nesting would be hard to follow.
Also rename it to
[LAA] Lift RuntimePointerCheck out of LoopAccessInfo, NFC
I am planning to add more nested classes inside RuntimePointerCheck so all these triple-nesting would be hard to follow.
Also rename it to RuntimePointerChecking (i.e. append 'ing').
llvm-svn: 242218
show more ...
|
#
215746b4 |
| 10-Jul-2015 |
Adam Nemet <anemet@apple.com> |
[LoopDist/LoopVer] Move LoopVersioning to a new module, NFC
Summary: The class will obviously need improvement down the road. For one, there is no reason that addPHINodes would have to be exposed l
[LoopDist/LoopVer] Move LoopVersioning to a new module, NFC
Summary: The class will obviously need improvement down the road. For one, there is no reason that addPHINodes would have to be exposed like that. I will make this and other improvements in follow-up patches.
The main goal is to be able to share this functionality. The LoopLoadElimination pass I am working on needs it too. Later we can move other clients as well (LV and Ashutosh's LICMVer).
Reviewers: hfinkel, ashutosh.nema
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D10577
llvm-svn: 241932
show more ...
|