[all-commits] [llvm/llvm-project] b5192c: [mlir][spirv] Fix result type for arith.cmpi/cmpf ...
Lei Zhang via All-commits
all-commits at lists.llvm.org
Mon Jun 13 10:16:17 PDT 2022
Author: Lei Zhang <antiagainst at google.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
[mlir][spirv] Fix result type for arith.cmpi/cmpf conversion
We cannot directly use the original result type; instead we need
to deduce it from the converted operand type. This addresses
invalid ops generated from converting single element vectors.
Reviewed By: ThomasRaoux
Differential Revision: https://reviews.llvm.org/D127574
More information about the All-commits