Hi all!
Is it possible to get the value of a constant parameter inside a TIR pass?
I need to write a pass to insert some if-else clauses, but this depends on the values of the constant parameters of the function. So I need to check for the values of the constant parameters, and depending on that, insert or not insert this if-else clauses.
Is this possible? Is there any transform pass that does something similar (evaluate the value of a constant)?
Thanks!