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

fix(compiler): use -O0 for fhe code #401

Closed
wants to merge 1 commit into from
Closed

Conversation

rudy-6-4
Copy link
Contributor

@rudy-6-4 rudy-6-4 commented May 4, 2023

No description provided.

@cla-bot cla-bot bot added the cla-signed label May 4, 2023
@rudy-6-4
Copy link
Contributor Author

rudy-6-4 commented May 4, 2023

llvm compile time is too high for big functions. (e.g. ten thousand instructions)

@rudy-6-4 rudy-6-4 force-pushed the fix/compiler/llvm-O0 branch from bdefc00 to 0db29f6 Compare May 5, 2023 08:35
Copy link
Member

@BourgerieQuentin BourgerieQuentin left a comment

Choose a reason for hiding this comment

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

Maybe that should be a options of the compiler? I think is a bit a shame to disable that just for one case.

@rudy-6-4
Copy link
Contributor Author

Maybe that should be a options of the compiler? I think is a bit a shame to disable that just for one case.

At least we can disable the double optimization. llvm-ir don't need be be optimized twice.

@rudy-6-4
Copy link
Contributor Author

#502

@rudy-6-4 rudy-6-4 closed this Aug 8, 2023
@rudy-6-4 rudy-6-4 deleted the fix/compiler/llvm-O0 branch January 24, 2024 22:39
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.

2 participants