diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-02-15 12:07:55 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-02-15 12:07:55 +0000 |
commit | 75d9a9756908b114148336288ba658b003e9d57a (patch) | |
tree | 9dec5abfcdc16b294ea878c5c803cd99f5ed2eee /llvm/lib/Bitcode | |
parent | 4fe214b1f24c46b0d69643619b1d2bc826872cd3 (diff) | |
download | llvm-75d9a9756908b114148336288ba658b003e9d57a.zip llvm-75d9a9756908b114148336288ba658b003e9d57a.tar.gz llvm-75d9a9756908b114148336288ba658b003e9d57a.tar.bz2 |
[x86] Teach the shuffle mask equivalence test to look through build
vectors and detect equivalent inputs.
This lets the code match unpck-style instructions when only one of the
inputs are lined up but the other input is a splat and so which lanes we
pull from doesn't matter. Today, this doesn't really happen, but just by
accident. I have a patch that normalizes how we shuffle splats, and with
that patch this will be necessary for a lot of the mask equivalence
tests to work.
I don't really know how to write a test case for this specific change
until the other change lands though.
llvm-svn: 229307
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions