[PATCH] D50499: [X86] Constant folding of adds/subs intrinsics

Tomasz Krupa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 13 00:04:29 PDT 2018


tkrupa updated this revision to Diff 160295.
tkrupa added a comment.

Implemented suggested changes.
Regarding masking with select - do you mean creating new avx512_padds/avx512_psubs intrinsics without masks and replacing the old calls with new intrinsic+select?


Repository:
  rL LLVM

https://reviews.llvm.org/D50499

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Transforms/InstCombine/X86/x86-adds-subs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50499.160295.patch
Type: text/x-patch
Size: 46941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180813/c551daf8/attachment.bin>


More information about the llvm-commits mailing list