[all-commits] [llvm/llvm-project] b057c7: [mlir][MathToLLVM] Fix vector type checks in math....

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Mon May 4 10:27:59 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b057c78db8abe08b3663009bf56381c6e5f5a369
      https://github.com/llvm/llvm-project/commit/b057c78db8abe08b3663009bf56381c6e5f5a369
  Author: Han-Chung Wang <hanhan0912 at gmail.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
    M mlir/test/Conversion/MathToLLVM/math-to-llvm.mlir

  Log Message:
  -----------
  [mlir][MathToLLVM] Fix vector type checks in math.absi lowering. (#195360)

For vector types, the lowered type is LLVMArrayType not VectorType. We
should use the original result type to guide if we can do the lowering
for vectors or not.

Signed-off-by: hanhanW <hanhan0912 at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list