#!/bin/bash | |
# | |
# This file was generated by create_test_cases.py. | |
# | |
# Test that lowering is not performed on a non-void return at | |
# the end of subroutine. | |
../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 1, 0, 0, 0)' <<EOF | |
((declare (out) float a) | |
(function sub | |
(signature float (parameters) | |
((assign (x) (var_ref a) (constant float (1.000000))) | |
(return (constant float (1.000000))))))) | |
EOF |