1 #!/bin/bash 2 # 3 # This file was generated by create_test_cases.py. 4 # 5 # If a loop contains an unconditional break at the bottom of 6 # it, it should not be lowered. 7 ../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 0, 0, 0, 1)' <<EOF 8 ((declare (out) float a) 9 (function main 10 (signature void (parameters) 11 ((loop () () () () 12 ((assign (x) (var_ref a) (constant float (1.000000))) break)))))) 13 EOF 14