commit | f69bb5e43c1427d23800e4e678a7c2f2088f0c88 | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Mon Apr 21 08:18:53 2014 +0000 |
committer | Lang Hames <lhames@gmail.com> | Mon Apr 21 08:18:53 2014 +0000 |
tree | d0ff7069c0da0d27b4acfaf87c300004cb00711d | |
parent | a21cd0433e7cde887b061ecac08c0de9f1cb8cb9 [diff] |
[X86] ISEL (and X, <constant mask>) to BZHI when BMI2 is available. Generating BZHI in the variable mask case, i.e. (and X, (sub (shl 1, N), 1)), was already supported, but we were missing the constant-mask case. This patch fixes that. <rdar://problem/15480077> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206738 91177308-0d34-0410-b5e6-96231b3b80d8