summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2011-09-18 10:39:32 +0000
committerNadav Rotem <nadav.rotem@intel.com>2011-09-18 10:39:32 +0000
commit7ae11279e97173a24f0d9198061535ffb350f18c (patch)
treeefef11afcb91ebd9822bb974dcce9e9192d1ee2b /clang/lib/CodeGen/CodeGenModule.cpp
parent7aaa0aa7a70fbacf0c5b5613f4eb2caafc6fbf3d (diff)
downloadbcm5719-llvm-7ae11279e97173a24f0d9198061535ffb350f18c.tar.gz
bcm5719-llvm-7ae11279e97173a24f0d9198061535ffb350f18c.zip
When promoting integer vectors we often create ext-loads. This patch adds a
dag-combine optimization to implement the ext-load efficiently (using shuffles). For example the type <4 x i8> is stored in memory as i32, but it needs to find its way into a <4 x i32> register. Previously we scalarized the memory access, now we use shuffles. llvm-svn: 139995
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud