based on the LLVM dump something is trying to do v2 load. Do you know what noise type is used? Guassian noise in that kernel uses sinpi and cospi which use v2float (float load is the same as int). can you try newer llvm version? proper constant address space loads were implemented in r269481. it fixed builtin functions that rely on tables, like sinpi/cospi.