Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix in IRBuilder generating IR for an array literal
* We have to assign every elt build to a temporary and use the tmp in the array construction. * This fixes the buggy IR generated by the builder for the snippet in issue 2574. * But, this exposes a bug in OptTempVarsPass that is opting that away incorrectly. Will fix that in a separate patch and also add a test for it at that time.
- Loading branch information