Skip to content
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

some GCLowering cleanup and add support for FCAs #33389

Merged
merged 2 commits into from
Oct 24, 2019
Merged

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Sep 25, 2019

In preparation for some future work, change some representations and cleanup some code.

@vtjnash vtjnash requested a review from Keno September 25, 2019 21:51
@vtjnash vtjnash force-pushed the jn/codegengc-cleanup branch 2 times, most recently from 0f34325 to 0f3c69b Compare September 30, 2019 17:00
@JeffBezanson JeffBezanson added the compiler:codegen Generation of LLVM IR and native code label Sep 30, 2019
src/ccall.cpp Outdated Show resolved Hide resolved
test/llvmpasses/gcroots.ll Show resolved Hide resolved
src/codegen.cpp Outdated Show resolved Hide resolved
src/codegen.cpp Outdated Show resolved Hide resolved
@Keno
Copy link
Member

Keno commented Oct 5, 2019

Perhaps cherry-pick the src: fix and sort makefile rules onto master?

src/llvm-late-gc-lowering.cpp Outdated Show resolved Hide resolved
Try to consolidate the code to share common sections between scalar and
vector inputs (in preparation for adding other aggregates).

Also fixes a lost root bug:
if a select or phi used a value from a select or phi, it would fail to root it.

Adds support for handling vectorized select condition in LiftSelect.
Permit handling any value with the same numbering scheme, not just Vector and Union (would also handle scalars, even though those typically go through a special case).
@vtjnash vtjnash changed the title some codegen related cleanup some GCLowering cleanup and add support for FCAs Oct 21, 2019
@vtjnash
Copy link
Member Author

vtjnash commented Oct 21, 2019

Will merge ~tomorrow, if no comments.

@StefanKarpinski
Copy link
Member

StefanKarpinski commented Oct 21, 2019

Keno did leave some comments that appear to be unaddressed. If they're not relevant maybe comment why they're not? Edit: I see they're outdated. I find it helpful to use GitHub's ability to mark conversations as resolved so that no-longer-relevant comments don't linger.

@vtjnash vtjnash merged commit 570b508 into master Oct 24, 2019
@vtjnash vtjnash deleted the jn/codegengc-cleanup branch October 24, 2019 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:codegen Generation of LLVM IR and native code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants