[all-commits] [llvm/llvm-project] 2853ae: [X86] Update SSE/AVX ABS intrinsics to emit llvm.a...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Sep 7 05:54:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2853ae3c1b8174e3660424ffac45922601f700ee
      https://github.com/llvm/llvm-project/commit/2853ae3c1b8174e3660424ffac45922601f700ee
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-09-07 (Mon, 07 Sep 2020)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/avx2-builtins.c
    M clang/test/CodeGen/avx512bw-builtins.c
    M clang/test/CodeGen/avx512f-builtins.c
    M clang/test/CodeGen/avx512vl-builtins.c
    M clang/test/CodeGen/avx512vlbw-builtins.c
    M clang/test/CodeGen/ssse3-builtins.c
    M llvm/test/CodeGen/X86/avx2-intrinsics-fast-isel.ll
    M llvm/test/CodeGen/X86/ssse3-intrinsics-fast-isel.ll

  Log Message:
  -----------
  [X86] Update SSE/AVX ABS intrinsics to emit llvm.abs.* (PR46851)

We're now getting close to having the necessary analysis/combines etc. for the new generic llvm.abs.* intrinsics.

This patch updates the SSE/AVX ABS vector intrinsics to emit the generic equivalents instead of the icmp+sub+select code pattern.

Differential Revision: https://reviews.llvm.org/D87101


  Commit: f6db681a78994dd7eb7da62da73754d1321085b3
      https://github.com/llvm/llvm-project/commit/f6db681a78994dd7eb7da62da73754d1321085b3
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-09-07 (Mon, 07 Sep 2020)

  Changed paths:
    A llvm/test/CodeGen/X86/ssse3-intrinsics-x86-upgrade.ll
    M llvm/test/CodeGen/X86/ssse3-intrinsics-x86.ll

  Log Message:
  -----------
  [X86][SSE] Move llvm.x86.ssse3.pabs.*.128 intrinsics to ssse3-intrinsics-x86-upgrade.ll

These have been auto upgraded for some time so this is just a tidyup.


Compare: https://github.com/llvm/llvm-project/compare/bb73fcfd0708...f6db681a7899


More information about the All-commits mailing list