diff options
author | Timothy Arceri <[email protected]> | 2018-04-03 11:38:13 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-04-04 08:40:16 +1000 |
commit | b42633db8e3711e54a5bd10495b1436b8e362801 (patch) | |
tree | d458d50336e52b6eb2beccb6d1c8524f060d2cef /SConstruct | |
parent | a58fdc61e9f10d91b618c7719a51ea2465a22186 (diff) |
glsl: always call do_lower_jumps() after loop unrolling
This fixes a bug in radeonsi where LLVM cannot handle the case where
a break exists but its not the last instruction in the block.
LLVM would fail with:
Terminator found in the middle of a basic block!
LLVM ERROR: Broken function found, compilation aborted!
Fixes: 96fe8834f539 "glsl_to_tgsi: do fewer optimizations with GLSLOptimizeConservatively"
Reviewed-by: Matt Turner <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105317
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions