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

about Instruction flags set .noRemovable #446

Open
brookate opened this issue Sep 13, 2024 · 0 comments
Open

about Instruction flags set .noRemovable #446

brookate opened this issue Sep 13, 2024 · 0 comments

Comments

@brookate
Copy link

Hi,
at this comit 872e468

...We also add a Flags struct to the Instruction class which allows us to
    mark Instructions as not-removable by the minimizer. ...

and I can find, program default set .empty flag

return internalAppend(Instruction(op, inouts: inouts, flags: .empty))

it seems there are no way set flag by users in ProgramBuilder, such as

b.loadString("hh", flags: .noRemovable) 

or is there a way to set flags to users if have?

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

No branches or pull requests

1 participant