doe300 / VC4C

Compiler for the VC4CL OpenCL implementation
MIT License
118 stars 37 forks source link

Add `--no-verification-error` and `--verification-error` options #125

Closed nomaddo closed 5 years ago

nomaddo commented 5 years ago

This patch append --no-safe-stop and --safe-stop options to stop or continue when the instruction verification fail. This patch append --no-verification-error and --verification-error options to stop or continue when the instruction verification fail.

When the verification failed, it is a little bit trouble to see failed instructions directly (because it aborts immediately). With --no-verification-error, compilation itself continue even in such situations.

I want to apply it for debugging debugging register allocator.

nomaddo commented 5 years ago

Actually, I added it to see #126