diff options
| author | Craig Topper <craig.topper@intel.com> | 2017-09-16 09:16:48 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2017-09-16 09:16:48 +0000 |
| commit | 23f78c1662cfd665f99ea8d2d33e667532f4c432 (patch) | |
| tree | d04994c469b7153e5916b1a251b16cb0c595a239 /llvm/tools/llvm-c-test/helpers.c | |
| parent | 0d1b519f78650bb2bbd3f67ff01120316cffd8df (diff) | |
| download | bcm5719-llvm-23f78c1662cfd665f99ea8d2d33e667532f4c432.tar.gz bcm5719-llvm-23f78c1662cfd665f99ea8d2d33e667532f4c432.zip | |
[X86] Add isel patterns to be able to fold loads into VPERM2F128 even when the load is on the first input to the SDNode.
We just need to toggle bits 1 and 5 of the immediate and swap the sources. The peephole pass could trigger commuting/folding for this later, but its easy enough to fix in isel.
Disable the peephole pass on the main vperm2x128 test so we know we're doing this through isel.
llvm-svn: 313455
Diffstat (limited to 'llvm/tools/llvm-c-test/helpers.c')
0 files changed, 0 insertions, 0 deletions

