[PATCH] D23337: [x86, AVX] allow FP vector select folding to bitwise logic ops (PR28895)

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 9 15:58:53 PDT 2016


spatel created this revision.
spatel added reviewers: delena, RKSimon, andreadb.
spatel added a subscriber: llvm-commits.
Herald added a subscriber: mcrosier.

This handles the case in:
https://llvm.org/bugs/show_bug.cgi?id=28895

...but I suspect that we may not be getting all of the possibilities yet. Eg, we can use 'X86::FANDN' for scalar FP select combines.



https://reviews.llvm.org/D23337

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx512-cvt.ll
  test/CodeGen/X86/select-with-and-or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23337.67428.patch
Type: text/x-patch
Size: 4948 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160809/45dd90d9/attachment.bin>


More information about the llvm-commits mailing list