summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-01-27 02:02:24 +0000
committerBill Wendling <isanbard@gmail.com>2012-01-27 02:02:24 +0000
commit7717e9f4ae48ffd63144f632597997a34d70bb19 (patch)
tree6a1ced18ac09f6997a36aa9582352e07dffc8da9 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parente32fad43b19ebd0944cc3494462baa23d28a6b12 (diff)
downloadbcm5719-llvm-7717e9f4ae48ffd63144f632597997a34d70bb19.tar.gz
bcm5719-llvm-7717e9f4ae48ffd63144f632597997a34d70bb19.zip
Place the GEP instructions nearer to the instructions which use them.
GEP instructions are there for the compiler and shouldn't really output much code (if any at all). When a GEP is stored in the entry block, Fast ISel (for one) will not know that it could fold it into further uses. For instance, inside of the EH handling code. This results in a lot of unnecessary spills and loads which bloat code and slows down pretty much everything. <rdar://problem/10694814> llvm-svn: 149114
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud