[mlir][NVGPU] Fix -Wunsequenced warning
authorrkayaith <rkayaith@gmail.com>
Tue, 8 Nov 2022 20:42:50 +0000 (15:42 -0500)
committerrkayaith <rkayaith@gmail.com>
Tue, 8 Nov 2022 20:47:12 +0000 (15:47 -0500)
commitb0bbc9b5951efaba6220c654c825050392627cbb
tree0d42b2d3736419ac94a7e17ea3fc0b4fde5ca2df
parent41a09a07ce4ddd1e97ce0430d1debe1dcc853890
[mlir][NVGPU] Fix -Wunsequenced warning

llvm-project/mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp:441:25:
warning: multiple unsequenced modifications to 'asmArgIdx'
[-Wunsequenced]
  ss << "$" << asmArgIdx++ << ",$" << asmArgIdx++ << ";";
                        ^                      ~~
mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp