commit | ce5d35a9d0a6d72850c4bed564f5d16e9d4d9863 | [log] [tgz] |
---|---|---|
author | Dinesh Dwivedi <dinesh.d@samsung.com> | Mon Jun 02 07:57:24 2014 +0000 |
committer | Dinesh Dwivedi <dinesh.d@samsung.com> | Mon Jun 02 07:57:24 2014 +0000 |
tree | 61b4c3da82f018a31e6ed551f71238d537bca1bd | |
parent | 43e127bded3b0173cc0f5b541c785e342edfb4d1 [diff] |
Added inst combine tarnsform for (1 << X) & C pattrens where C is (some PowerOf2 - 1) This patch can handles following cases from http://nondot.org/sabre/LLVMNotes/InstCombine.txt "((1 << X) & 7) == 0" ==> "X > 2" "((1 << X) & 7) != 0" ==> "X < 3". Differential Revision: http://reviews.llvm.org/D3678 llvm-svn: 210007