imageworks/OpenShadingLanguage — pull request #93 by lgritz (2011-11-09 06:31:30+00:00)
Title: Review: A 'return' oso op needs to mark the next instruction as a new basic block

A 'return' oso op needs to mark the next instruction as a new basic block. If not, you get lots of fun optimization errors if a surrounding 'if' is removed and then a subsequent 'stale assignment elimination' doesn't know a basic block boundary is present.