commit | d880b357d56bcfff54e1b6ae5173fbaafae4d649 | [log] [tgz] |
---|---|---|
author | Tatiana Shpeisman <shpeisman@google.com> | Tue Jul 31 23:14:16 2018 -0700 |
committer | jpienaar <jpienaar@google.com> | Fri Mar 29 12:51:38 2019 -0700 |
tree | 232c1d91ae88b50ed40d6c0d88bf769263da3455 | |
parent | ca2ee87489c0dee01e502f00aab1ac29a52e9dc1 [diff] |
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