[PATCH] D31182: [InstCombine] fadd double (sitofp x), y check that the promotion is valid

Artur Pilipenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 06:06:54 PDT 2017


apilipenko updated this revision to Diff 95113.
apilipenko added a comment.

Add the comment about overly conservative legality check, add the test demonstrating it.


https://reviews.llvm.org/D31182

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  test/Transforms/InstCombine/add-sitofp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31182.95113.patch
Type: text/x-patch
Size: 7454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170413/c548f0bf/attachment.bin>


More information about the llvm-commits mailing list