commit | 579b1b3a84da15d233c9ab4e3d3dc35cff4edf86 | [log] [tgz] |
---|---|---|
author | Nicolas Capens <capn@google.com> | Fri Dec 09 19:56:03 2016 |
committer | Nicolas Capens <nicolascapens@google.com> | Fri Dec 09 22:29:22 2016 |
tree | e0cab5c8b81bfdb8781532e6abc478c1da05aaea | |
parent | a29da906bf910a32de3a81ef43d6ec43f138f2ab [diff] |
Generalize vector shuffling to accept any operand. The arguments get legalized to Reg or Mem, so we can allow constants as well (including undef values). This change makes all instruction's source arguments Ice::Operands. BUG=swiftshader:24 Change-Id: I1659cdfdb1b8a12c4acc7c473211d8a67bfd5868 Reviewed-on: https://chromium-review.googlesource.com/418504 Reviewed-by: Jim Stichnoth <stichnot@chromium.org>