diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2018-11-13 08:37:09 +0000 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2018-11-13 08:37:09 +0000 |
commit | f9b2b5e67e46ada55ada74580e2939027d6f11eb (patch) | |
tree | 1e32351080a8f39cc7d564fb5061d0c50993f7e3 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 333ab7d08b320e9b41e837a1be1602d8ea5a0df2 (diff) | |
download | llvm-f9b2b5e67e46ada55ada74580e2939027d6f11eb.zip llvm-f9b2b5e67e46ada55ada74580e2939027d6f11eb.tar.gz llvm-f9b2b5e67e46ada55ada74580e2939027d6f11eb.tar.bz2 |
[SystemZ] Increase the number of VLREPs
If a loaded value is replicated it is best to combine these two operations
into a VLREP (load and replicate), but isel will not produce this if the load
has other users as well.
This patch handles this by putting the other users of the load to use the
REPLICATE 0-element instead of the load. This way the load has only the
REPLICATE node as user, and we get a VLREP.
Review: Ulrich Weigand
https://reviews.llvm.org/D54264
llvm-svn: 346746
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions