[PATCH] Added InstCombine transformation for combining two instructions icmp slt/sle/ult/ule/sge/sgt/uge/ugt (ashr/lshr (Const2) %A), (Const1)
ankur29.garg at samsung.com
Mon Sep 29 03:55:26 PDT 2014
Hi majnemer, dexonsmith, andreadb, suyog,
I have added function to transform the two instructions of the type:
icmp slt/sle/ult/ule/sge/sgt/uge/ugt (ashr/lshr (Const2) %A), (Const1)
The patch for operators eq/ne has already been added in: http://reviews.llvm.org/D4068
This handles it for rest of the operators.
Please help in reviewing it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 27180 bytes
Desc: not available
More information about the llvm-commits