[PATCH] D45421: [X86] Emit native IR for pmuldq/pmuludq builtins.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 9 11:10:09 PDT 2018


craig.topper updated this revision to Diff 141691.
craig.topper added a comment.

Use shifts or and to match what InstCombine will do. This sidesteps the illegal type question.


https://reviews.llvm.org/D45421

Files:
  lib/CodeGen/CGBuiltin.cpp
  test/CodeGen/avx2-builtins.c
  test/CodeGen/avx512f-builtins.c
  test/CodeGen/avx512vl-builtins.c
  test/CodeGen/sse2-builtins.c
  test/CodeGen/sse41-builtins.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45421.141691.patch
Type: text/x-patch
Size: 13318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180409/83a894bc/attachment.bin>


More information about the llvm-commits mailing list