[GEN] Add cache controls decoration to 2d_block_read builtin calls#1247
Conversation
|
Addresses #1233 |
|
Can you please check if the expected GenISA with expected cache control is generated at the end from shader dump? |
12d6da7 to
0ba9684
Compare
Issue's this won't work till IGC picks KhronosGroup/SPIRV-LLVM-Translator@c8bfc33. |
IIUC the feature is needed for LLVMIR -> SPV translation, which doesn't need IGC to update the SPV -> LLVMIR portion. #1251 updated the SPIRV-LLVM-Translator Triton uses. |
Running latest I don't have access to an IGC development version handling this, tho, so I cannot currently test on my side. |
|
Here's the full SPIR-V dump. It's |
f721dde to
a24edde
Compare
7dee82f to
66386ac
Compare
I think this should work regardless of that. We would just accept more cases. |
761892b to
c99dc29
Compare
|
This change looks good to me, let's merge this after verifying it works end to end. |
c99dc29 to
75411ea
Compare
!1224 converts `triton_gen.2Dblockload` to OCL builtin `2d_block_read` calls. Add cache controls decoration capturing original `cache_control` semantics. Signed-off-by: Victor Perez <victor.perez@codeplay.com>
Signed-off-by: Victor Perez <victor.perez@codeplay.com>
66386ac to
76bf92a
Compare
#1224 converts
triton_gen.2Dblockloadto OCL builtin2d_block_readcalls. Add cache controls decoration capturing originalcache_controlsemantics.