commit | 324f4f163350487243d3a93b2a79f5eb2edc3b03 | [log] [tgz] |
---|---|---|
author | Bob Wilson <bob.wilson@apple.com> | Thu Dec 03 06:40:55 2009 +0000 |
committer | Bob Wilson <bob.wilson@apple.com> | Thu Dec 03 06:40:55 2009 +0000 |
tree | 85d5252ad88a57853e12b0642541835ae16efe1b | |
parent | 9f0d4e631d73659e8a94495b9a6d5ecbb6ad68a1 [diff] |
Recognize canonical forms of vector shuffles where the same vector is used for both source operands. In the canonical form, the 2nd operand is changed to an undef and the shuffle mask is adjusted to only reference elements from the 1st operand. Radar 7434842. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90417 91177308-0d34-0410-b5e6-96231b3b80d8