{"push_id":1786667982,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"3e7c0e165a5a473f62592b31a472f99fd43f320e","before":"ba39f0a1470a009035ffab00eb1866bc1b09ee2a","commits":[{"sha":"3e7c0e165a5a473f62592b31a472f99fd43f320e","author":{"name":"Sanjay Patel","email":"8a358757f1b64d62facccc1fd839683fb6856b45@rotateright.com"},"message":"[InstCombine] fold lshr (sext X), C1 --> zext (lshr X, C2)\n\nThis was discussed in D33338. We have larger pattern-matching ending in a truncate that\nwe can reduce or remove by handling these smaller patterns first. Further motivation is\nthat narrower shift ops are easier for value tracking and zext is better than sext.\n\nhttp://rise4fun.com/Alive/rhh\n\nName: boolshift\n%sext = sext i1 %x to i8\n%r = lshr i8 %sext, 7\n\n=>\n\n%r = zext i1 %x to i8\n\nName: noboolshift\n%sext = sext i3 %x to i8\n%r = lshr i8 %sext, 7\n\n=>\n\n%sh = lshr i3 %x, 2\n%r = zext i3 %sh to i8\n\nDifferential Revision: https://reviews.llvm.org/D33879","distinct":true,"url":"https://api.github.com/repos/llvm-project/llvm-project-submodule/commits/3e7c0e165a5a473f62592b31a472f99fd43f320e"}]}
{"actor":{"display_login":"chapuni"}}