{"push_id":1236388745,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"fd14e4374d39167bdb5702504f064c775c9f363d","before":"784afcbf370b403c7a570e8e785975bd06c4a281","commits":[{"sha":"fd14e4374d39167bdb5702504f064c775c9f363d","author":{"name":"Nicolai Haehnle","email":"4e56b600684d1796fade77a494abd6e807914572@gmail.com"},"message":"[InstCombine] try to fold (select C, (sext A), B) into logical ops\n\nSummary:\nTurn (select C, (sext A), B) into (sext (select C, A, B')) when A is i1 and\nB is a compatible constant, also for zext instead of sext. This will then be\nfurther folded into logical operations.\n\nThe transformation would be valid for non-i1 types as well, but other parts of\nInstCombine prefer to have sext from non-i1 as an operand of select.\n\nMotivated by the shader compiler frontend in Mesa for AMDGPU, which emits i32\nfor boolean operations. With this change, the boolean logic is fully\nrecovered.\n\nReviewers: majnemer, spatel, tstellarAMD\n\nSubscribers: llvm-commits\n\nDifferential Revision: https://reviews.llvm.org/D22747\n\ngit-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277801 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-mirror/llvm/commits/fd14e4374d39167bdb5702504f064c775c9f363d"}]}
{"actor":{"display_login":"llvm-mirror"}}