Skip to content

[NFC] Extract LoopConstrainer from IRCE to reuse it outside the pass #70508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 31, 2023

Conversation

aleks-tmb
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Oct 27, 2023

✅ With the latest revision this PR passed the C/C++ code formatter.

Aleksandr Popov added 8 commits October 31, 2023 07:59
Preparatory patch for extracting LoopConstrainer to a separate file to
reuse it outside IRCE.

Move ExitCountTy out of the LoopConstrainer to avoid MaxBETakenCount
recalculation.
…oopStructure

Preparatory patch for extracting LoopConstrainer to a separate file to
reuse it outside IRCE.

Remove LoopStructure's dependency on the AllowUnsignedLatchCondition option.
Preparatory patch for extracting LoopConstrainer to a separate file to
reuse it outside IRCE.

Move the specific for IRCE calculateSubRanges method outside of
LoopConstrainer.
Preparatory patch for extracting LoopConstrainer to a separate file to
reuse it outside IRCE.

Replace InductiveRangeCheck::Range typed field by Type* one.
Preparatory patch for extracting LoopConstrainer to a separate file to
reuse it outside IRCE.
Preparatory patch for extracting LoopConstrainer to a separate file to
reuse it outside IRCE.
Preparatory patch for extracting LoopConstrainer to a separate file to
reuse it outside IRCE.
Extract LoopConstrainer to a separate file to reuse it outside IRCE.
@aleks-tmb aleks-tmb merged commit 483e924 into llvm:main Oct 31, 2023
@aleks-tmb aleks-tmb deleted the loop-constrainer branch October 31, 2023 17:17
@aeubanks
Copy link
Contributor

fyi, there's no need to touch gn files if you're not using them (this patch actually broke the gn build and the gn file list auto-updater due to a missing comma)

@aleks-tmb
Copy link
Contributor Author

fyi, there's no need to touch gn files if you're not using them (this patch actually broke the gn build and the gn file list auto-updater due to a missing comma)

Got it, sorry. Thanks for fixing that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants