[PATCH] D52177: [InstCombine] Fold ~A - Min/Max(~A, O) -> Max/Min(A, ~O) - A
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 24 12:01:37 PDT 2018
dmgreen updated this revision to Diff 166727.
dmgreen added a comment.
Turns out there wasn't any conflict, but I've tried to clean this up a little and add a few more tests.
https://reviews.llvm.org/D52177
Files:
lib/Transforms/InstCombine/InstCombineAddSub.cpp
lib/Transforms/InstCombine/InstCombineInternal.h
test/Transforms/InstCombine/sub-minmax.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52177.166727.patch
Type: text/x-patch
Size: 7982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180924/b2f5b12b/attachment.bin>
More information about the llvm-commits
mailing list