[PATCH] D62629: [InstCombine] Update fptrunc (fneg x)) -> (fneg (fptrunc x) for unary FNeg
Cameron McInally via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 10 09:28:21 PDT 2019
cameron.mcinally updated this revision to Diff 203843.
cameron.mcinally added a comment.
Check hasOneUse() before performing combine.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62629/new/
https://reviews.llvm.org/D62629
Files:
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
llvm/test/Transforms/InstCombine/fpcast.ll
llvm/test/Transforms/InstCombine/fpextend.ll
llvm/test/Transforms/InstCombine/fsub.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62629.203843.patch
Type: text/x-patch
Size: 4267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190610/1a68932f/attachment.bin>
More information about the llvm-commits
mailing list