commit | f1843f8e41d0372a74d0f375223c3cf1435b2f90 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Fri Aug 03 09:20:02 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Fri Aug 03 09:20:02 2018 +0000 |
tree | 55e2e86c630ec2d2d0fdd1db0fce54a84c22ff92 | |
parent | 0c1e01d11aa7f164b42d74381998e289f3472475 [diff] |
[X86] Add example of 'zero shift' guards on rotation patterns (PR34924) Basic pattern that leaves an unnecessary select on a rotation by zero result. This variant is trivial - the more general case with a compare+branch to prevent execution of undefined shifts is more tricky. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338833 91177308-0d34-0410-b5e6-96231b3b80d8