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 provides an alternate lowering for scratch in which it uses global
reads/writes and bases scratch addresses on a base pointer.
This MR also contains a few other cleanups
+@karolherbst @jenatali and @robclark as potential reviewers