[PATCH] D56011: [x86] lower extracted fadd/fsub to horizontal vector math

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 4 07:25:42 PST 2019


spatel updated this revision to Diff 180245.
spatel added a comment.

Patch updated:
Add cost model overrides for FADD/FSUB to preserve existing behavior. 
I suspect that these should be adjusted, and we should include more opcodes to avoid the default trap, but that's another patch. This maintains the current state, so no test diffs outside of codegen.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56011/new/

https://reviews.llvm.org/D56011

Files:
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86TargetTransformInfo.cpp
  test/CodeGen/X86/haddsub-undef.ll
  test/CodeGen/X86/haddsub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56011.180245.patch
Type: text/x-patch
Size: 46144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190104/586b2efc/attachment.bin>


More information about the llvm-commits mailing list