[PATCH] D12731: [InstCombine] CVTPH2PS Vector Demanded Elements + Constant Folding

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 08:00:07 PDT 2015


RKSimon created this revision.
RKSimon added reviewers: majnemer, ab, andreadb.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.

Improved InstCombine support for CVTPH2PS (F16C half 2 float conversion):

<4 x float> @llvm.x86.vcvtph2ps.128(<8 x i16>) - only uses the bottom 4 i16 elements for the conversion.

Added constant folding support.

Repository:
  rL LLVM

http://reviews.llvm.org/D12731

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Transforms/InstCombine/x86-f16c.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12731.34338.patch
Type: text/x-patch
Size: 5415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150909/9107fd6a/attachment.bin>


More information about the llvm-commits mailing list