radeon/llvm: Run standard optimization passes on conpute shader modules
authorTom Stellard <thomas.stellard@amd.com>
Tue, 14 May 2013 15:56:25 +0000 (08:56 -0700)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 17 May 2013 14:38:01 +0000 (07:38 -0700)
commite230d9debbd4c2e715f50059a02d502d90a626d7
tree40c9e0613cf056a30411063d781192875b514bbf
parentccb041fe8e0f4ed7e393bb82e89a7c57d222bec7
radeon/llvm: Run standard optimization passes on conpute shader modules

The SROA and function inliner passes are espically important, because
they optimize away unsupported features: functions and indirect
private memory access.
src/gallium/drivers/radeon/radeon_llvm_util.c