[all-commits] [llvm/llvm-project] d7fa90: [CodeGen][X86] Emit fshl/fshr ir intrinsics for sh...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Oct 15 02:23:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d7fa9030d47fa62ad443717f4d1c8da4096a1d6c
      https://github.com/llvm/llvm-project/commit/d7fa9030d47fa62ad443717f4d1c8da4096a1d6c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-15 (Thu, 15 Oct 2020)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/X86/ms-x86-intrinsics.c

  Log Message:
  -----------
  [CodeGen][X86] Emit fshl/fshr ir intrinsics for shiftleft128/shiftright128 ms intrinsics

Now that funnel shift handling is pretty good, we can use the intrinsics directly and avoid a lot of zext/trunc issues.

https://godbolt.org/z/YqhnnM

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




More information about the All-commits mailing list