[all-commits] [llvm/llvm-project] bd7419: Scalarize vector `mad` operations for integer type...

Kaitlin Peng via All-commits all-commits at lists.llvm.org
Thu Aug 7 09:35:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd741975bc666d032665facd19144df9deedc5c8
      https://github.com/llvm/llvm-project/commit/bd741975bc666d032665facd19144df9deedc5c8
  Author: Kaitlin Peng <kaitlinpeng at microsoft.com>
  Date:   2025-08-07 (Thu, 07 Aug 2025)

  Changed paths:
    M llvm/lib/Target/DirectX/DirectXTargetTransformInfo.cpp
    M llvm/test/CodeGen/DirectX/imad.ll
    M llvm/test/CodeGen/DirectX/umad.ll

  Log Message:
  -----------
  Scalarize vector `mad` operations for integer types (#152228)

Fixes #152220.

- Adds `dx_imad` and `dx_umad` to
`isTargetIntrinsicTriviallyScalarizable`
- Adds tests that confirm the intrinsic is now scalarizing



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