8000 [LowerToHW] [ExtractTestCode] Remove FD caching to pass ETC by uenoku · Pull Request #8428 · llvm/circt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[LowerToHW] [ExtractTestCode] Remove FD caching to pass ETC #8428

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 1 commit into from
Apr 19, 2025

Conversation

uenoku
Copy link
Member
@uenoku uenoku commented Apr 18, 2025

Using initilaization for lowering file descriptor casuses probems for ETC so this commit removes initialization and call library function every time fd is necessary

Using initilaization for lowering file descriptor casuses probems for ETC so
this commit removes initialization and call library function every time fd is
necessary
Copy link
Member
@seldridge seldridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

It pains me that your elegant caching can't easily be used here. Once ETC is dead and replaced with layers, we can revisit this.

Comment on lines 1 to +2
; RUN: firtool %s | FileCheck %s
; RUN: firtool %s --extract-test-code | FileCheck --check-prefix=ETC %s
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great use of a second RUN line. 💯

@uenoku uenoku changed the title [LowerToHW] [ExtractTestCode] Remove optimization for ETC [LowerToHW] [ExtractTestCode] Remove FD caching to pass ETC Apr 19, 2025
@uenoku uenoku merged commit 9f7ae1e into main Apr 19, 2025
5 checks passed
@uenoku uenoku deleted the dev/hidetou/etc-fd branch April 19, 2025 00:34
KelvinChung2000 pushed a commit to KelvinChung2000/circt that referenced this pull request Apr 22, 2025
Using initilaization for lowering file descriptor casuses probems for ETC so
this commit removes initialization and call library function every time fd is
necessary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0