[PATCH] D43774: [InstCombine] Add constant vector support to lookThroughFPExtensions for visitFPTrunc.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 11:57:14 PST 2018


craig.topper created this revision.
craig.topper added reviewers: spatel, scanon.

This patch teaches lookThroughFPExtensions to support shrinking a vector of ConstantFPs. This should improve our ability to combine vector fptrunc with fp binops.


Repository:
  rL LLVM

https://reviews.llvm.org/D43774

Files:
  lib/Transforms/InstCombine/InstCombineCasts.cpp
  test/Transforms/InstCombine/fpextend.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43774.135943.patch
Type: text/x-patch
Size: 4417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180226/b2c8a308/attachment.bin>


More information about the llvm-commits mailing list