summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/BuildLibCalls.cpp
diff options
context:
space:
mode:
authorAmara Emerson <aemerson@apple.com>2018-05-16 10:32:02 +0000
committerAmara Emerson <aemerson@apple.com>2018-05-16 10:32:02 +0000
commit0d6a26dffcf3a5dc5a4147cba655215812238bf5 (patch)
treea7752d653216ef3e9ecddc23ee19d80e9a00e97b /llvm/lib/Transforms/Utils/BuildLibCalls.cpp
parentb48447a1d603a6609b9d6735fda6f875266237c8 (diff)
downloadbcm5719-llvm-0d6a26dffcf3a5dc5a4147cba655215812238bf5.tar.gz
bcm5719-llvm-0d6a26dffcf3a5dc5a4147cba655215812238bf5.zip
[GlobalISel][IRTranslator] Split aggregates during IR translation.
We currently handle all aggregates by creating one large LLT, and letting the legalizer deal with splitting them up. However using this approach means that we can't support big endian code correctly. This patch changes the way that the IRTranslator deals with aggregate values, by splitting them up into their constituent element values. To do this, parts of the translator need to be modified to deal with multiple VRegs for a single Value. A new Value to VReg mapper is introduced to help keep compile time under control, currently there is no measurable impact on CTMark despite the extra code being generated in some cases. Patch is based on the original work of Tim Northover. Differential Revision: https://reviews.llvm.org/D46018 llvm-svn: 332449
Diffstat (limited to 'llvm/lib/Transforms/Utils/BuildLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud