diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-11-09 14:54:58 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-11-09 14:54:58 +0000 |
commit | fa1c0fe478dbcc2276d7cb58fe2adaf2fee9097c (patch) | |
tree | 39bb5fc1709ffac75ae39d85bfb017d52080e721 /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 1cc2d0b9fb9fc966fab5fb0575479aa888b2ed57 (diff) | |
download | bcm5719-llvm-fa1c0fe478dbcc2276d7cb58fe2adaf2fee9097c.tar.gz bcm5719-llvm-fa1c0fe478dbcc2276d7cb58fe2adaf2fee9097c.zip |
[x86] try to form broadcast before widening shuffle elements
I noticed that we weren't generating broadcasts as much I thought we would with
D54271, and this is part of the problem.
Widening the shuffle elements means adding bitcasts and hiding the relationship
between a splatted scalar and the vector. If we can form a broadcast, do that
before going through the rest of the shuffle lowering because broadcasts should
be cheap and can often be load-folded.
Differential Revision: https://reviews.llvm.org/D54280
llvm-svn: 346498
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions