gallivm: scratch support + cl fixes.
This is need for OpenCL private memory space
There is a second patch to fix 8/16-bit global stores and a 3rd to avoid some library callout from llvm for 64->16 bit truncation.
Edited by Dave Airlie
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
This is need for OpenCL private memory space
There is a second patch to fix 8/16-bit global stores and a 3rd to avoid some library callout from llvm for 64->16 bit truncation.