mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-23 20:16:06 +00:00

In the example below it is not clear that `(f32)` relates to `%arg2` and not to `vector<2xf32>`: ```mlir %0 = spirv.ImageSampleImplicitLod %arg0, %arg1 ["Lod"](%arg2) : !spirv.sampled_image<...>, vector<2xf32>(f32) -> vector<4xf32> ``` This change applies new format to image operations and image operands that does not use parenthesis and is less ambiguous: ```mlir %0 = spirv.ImageSampleImplicitLod %arg0, %arg1 ["Lod"], %arg2 : !spirv.sampled_image<...>, vector<2xf32>, f32 -> vector<4xf32> ```