Skip to content
Commit ed0ceec1 authored by Tom Stellard's avatar Tom Stellard
Browse files

R600: Use StructurizeCFGPass for non SI targets



StructurizeCFG pass allows to make complex cfg reducible ; it allows a lot of
shader from shadertoy (which exhibits complex control flow constructs) to works
correctly with respect to CFG handling (and allow us to detect potential bug in
other part of the backend).

We provide a cmd line argument to disable the pass for debug purpose.

Patch by: Vincent Lejeune

Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
llvm-svn: 192363
parent 1eade6d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment