Commit 8189a12b authored by Tatiana Shpeisman's avatar Tatiana Shpeisman Committed by jpienaar
Browse files

Clean up and extend MLFuncBuilder to allow creating statements in the middle...

Clean up and extend MLFuncBuilder to allow creating statements in the middle of a statement block. Rename Statement::getFunction() and StmtBlock()::getFunction() to findFunction() to make it clear that this is not a constant time getter.
Fix b/112039912 - we were recording 'i' instead of '%i' for loop induction variables causing "use of undefined SSA value" error.

PiperOrigin-RevId: 206884644
parent 5228ec31
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment