summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-11-09 14:54:58 +0000
committerSanjay Patel <spatel@rotateright.com>2018-11-09 14:54:58 +0000
commitfa1c0fe478dbcc2276d7cb58fe2adaf2fee9097c (patch)
tree39bb5fc1709ffac75ae39d85bfb017d52080e721 /llvm/lib/Support/VirtualFileSystem.cpp
parent1cc2d0b9fb9fc966fab5fb0575479aa888b2ed57 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud