[Mlir-commits] [mlir] [mlir][SPIR-V] Add ComplexToSPIRV lowering for complex.sign (PR #216722)
Alexander Shaposhnikov
llvmlistbot at llvm.org
Wed Oct 14 01:47:25 PDT 2026
https://github.com/alexander-shaposhnikov commented:
the referenced code (https://github.com/llvm/llvm-project/blob/856b2034dc703ee225c6f78569ad3efc3e924572/mlir/lib/Conversion/ComplexToSPIRV/ComplexToSPIRV.cpp#L341-L347) uses the normalization trick to avoid overflows (in squaring)
https://github.com/llvm/llvm-project/pull/216722
More information about the Mlir-commits
mailing list