Open willi19 opened 1 year ago
Temporarily, you can print IR directly in opt.cpp
like this:
errs() << *__M << '\n';
I'm worrying about changing cpp file in src which is not in opt folder and opt.cpp. Since TA said he will give huge penalty for changing the given code, I think it's safe to ask TA first.
But there are no time left for sprint 1 so I will write python file that reads verbose output of build/swpp-compiler and extract optimized ll from it.
I need it for filecheck and alive2. If you have any idea, please share with me.