[PATCH] D37019: Add select simplifications
Michael Berg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 23 11:26:33 PDT 2017
mcberg2017 updated this revision to Diff 112407.
mcberg2017 added a comment.
These changes support the fast math flag and the contexts according to the last note
on using the code snippet in InstCombining under SimplifyUsingDistributiveLaws, which I made a
helper function with support for handling fast math if required. The changes
pass make check-llvm.
https://reviews.llvm.org/D37019
Files:
lib/Transforms/InstCombine/InstCombineAddSub.cpp
lib/Transforms/InstCombine/InstCombineInternal.h
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp
test/Transforms/InstCombine/select_arithmetic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37019.112407.patch
Type: text/x-patch
Size: 7797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170823/c065d2ec/attachment.bin>
More information about the llvm-commits
mailing list