[PATCH] [InstCombine] Add new rule for MIN(MAX(~A, ~B), ~C) et. al.
Sanjoy Das
sanjoy at playingwithpointers.com
Wed Apr 29 15:13:00 PDT 2015
Hi majnemer,
Optimizing these well are especially interesting for IRCE since it
"clamps" values by generating this sort of pattern through SCEV
expressions.
Depends on D9352.
http://reviews.llvm.org/D9353
Files:
lib/Transforms/InstCombine/InstCombineSelect.cpp
test/Transforms/InstCombine/max-of-nots.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9353.24660.patch
Type: text/x-patch
Size: 3695 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150429/410bb5e2/attachment.bin>
More information about the llvm-commits
mailing list