-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[TVMC] --disable-pass option added to compile mode #7816
Conversation
2f04b63
to
5346303
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add test cases.
Also cc @leandron |
Added --disable-pass option to TVMC compile mode to disallow certain supplied passes in PassContext for the compiler. Change-Id: Iae1849d7b051ac9288509dc458a58788c865537a
5346303
to
d63f6b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a some test cases.
Change-Id: If688f65441d3aa9967ab823adf899cfc704bd097
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please evaluate @leandron's comment of listing all available passes. We could skip that if it's too many as suggested.
Change-Id: I7a4706c03c0d64cade4977d431bcb25b3708f213
Change-Id: I33d6f6f86d182de2e21e895ec2dfe9f11f5916dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering it is an advanced feature, and it is quite a big list of passes, I agree with your choice of showing it only when the user points to some pass that doesn't exist. LGTM.
Thanks @d-smirnov @leandron |
* [TVMC] --disable-pass option added to compile mode Added --disable-pass option to TVMC compile mode to disallow certain supplied passes in PassContext for the compiler. Change-Id: Iae1849d7b051ac9288509dc458a58788c865537a * Added test, addressed requests Change-Id: If688f65441d3aa9967ab823adf899cfc704bd097 * added printing of available passes Change-Id: I7a4706c03c0d64cade4977d431bcb25b3708f213 * C0415(import-outside-toplevel) Change-Id: I33d6f6f86d182de2e21e895ec2dfe9f11f5916dd
* [TVMC] --disable-pass option added to compile mode Added --disable-pass option to TVMC compile mode to disallow certain supplied passes in PassContext for the compiler. Change-Id: Iae1849d7b051ac9288509dc458a58788c865537a * Added test, addressed requests Change-Id: If688f65441d3aa9967ab823adf899cfc704bd097 * added printing of available passes Change-Id: I7a4706c03c0d64cade4977d431bcb25b3708f213 * C0415(import-outside-toplevel) Change-Id: I33d6f6f86d182de2e21e895ec2dfe9f11f5916dd
* [TVMC] --disable-pass option added to compile mode Added --disable-pass option to TVMC compile mode to disallow certain supplied passes in PassContext for the compiler. Change-Id: Iae1849d7b051ac9288509dc458a58788c865537a * Added test, addressed requests Change-Id: If688f65441d3aa9967ab823adf899cfc704bd097 * added printing of available passes Change-Id: I7a4706c03c0d64cade4977d431bcb25b3708f213 * C0415(import-outside-toplevel) Change-Id: I33d6f6f86d182de2e21e895ec2dfe9f11f5916dd
* [TVMC] --disable-pass option added to compile mode Added --disable-pass option to TVMC compile mode to disallow certain supplied passes in PassContext for the compiler. Change-Id: Iae1849d7b051ac9288509dc458a58788c865537a * Added test, addressed requests Change-Id: If688f65441d3aa9967ab823adf899cfc704bd097 * added printing of available passes Change-Id: I7a4706c03c0d64cade4977d431bcb25b3708f213 * C0415(import-outside-toplevel) Change-Id: I33d6f6f86d182de2e21e895ec2dfe9f11f5916dd
Added --disable-pass option to TVMC compile mode to disallow certain supplied passes in PassContext for the compiler.