Clean up some TODOs in the IR gen.