I'm working with the OpenCL compiler stack, and I wanted to turn on the llvm flag "--debug-pass". I'm not sure how to activate it from the commandline if I am using say aoc, or aoc2.
I know I need to compile the llvm stack with debugging turned on, and I think I've done that. However, when I pass in --debug-pass to aoc it is considered an invalid option.
I probably need to insert it into a file somewhere, but where?
Any ideas would be greatly appreciated.