[PATCH] [DAGCombiner] Add support for FCEIL, FFLOOR and FTRUNC vector constant folding

Simon Pilgrim llvm-dev at redking.me.uk
Mon Mar 30 17:01:29 PDT 2015


Hi qcolombet, mkuper, andreadb,

This patch adds supports for the vector constant folding of FCEIL, FFLOOR and FTRUNC instructions. We can't safely use the scalar versions of these folds as they may not all correctly fold so the folding is done locally.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8715

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  test/CodeGen/X86/vec_floor.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8715.22918.patch
Type: text/x-patch
Size: 5906 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150331/fb9d4441/attachment.bin>


More information about the llvm-commits mailing list