[all-commits] [llvm/llvm-project] 712c90: [clang][x86] Add constexpr support for _mm_cvtsi64_sd

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Nov 6 10:35:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 712c90e479f975f2e0c5ed4554dbf2f3a7a6d9d6
      https://github.com/llvm/llvm-project/commit/712c90e479f975f2e0c5ed4554dbf2f3a7a6d9d6
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-11-06 (Wed, 06 Nov 2024)

  Changed paths:
    M clang/lib/Headers/emmintrin.h
    M clang/test/CodeGen/X86/sse2-builtins.c

  Log Message:
  -----------
  [clang][x86] Add constexpr support for _mm_cvtsi64_sd


  Commit: 6ccbf1da6c9225fddaf6911e7bb49ee011e845a6
      https://github.com/llvm/llvm-project/commit/6ccbf1da6c9225fddaf6911e7bb49ee011e845a6
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-11-06 (Wed, 06 Nov 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] combineSelect - use SelectableOp helper to match the zero operand as well as the target shuffle

For the "select(mask, extract_subvector(shuffle(x)), zero) --> extract_subvector(select(insert_subvector(mask), shuffle(x), zero))" fold, match the zero operand inside the SelectableOp helper.

Prep work for #113400 - we will be able to relax the zero operand requirement for some target shuffles.


Compare: https://github.com/llvm/llvm-project/compare/cb90d5b3ef46...6ccbf1da6c92

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