Go to file
Hal Finkel 7153251ab5 LocalStackSlotAllocation improvements
First, taking advantage of the fact that the virtual base registers are allocated in order of the local frame offsets, remove the quadratic register-searching behavior. Because of the ordering, we only need to check the last virtual base register created.

Second, store the frame index in the FrameRef structure, and get the frame index and the local offset from this structure at the top of the loop iteration. This allows us to de-nest the loops in insertFrameReferenceRegisters (and I think makes the code cleaner). I also moved the needsFrameBaseReg check into the first loop over instructions so that we don't bother pushing FrameRefs for instructions that don't want a virtual base register anyway.

Lastly, and this is the only functionality change, avoid the creation of single-use virtual base registers. These are currently not useful because, in general, they end up replacing what would be one r+r instruction with an add and a r+i instruction. Committing this removes the XFAIL in CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll

Jim has okayed this off-list.

llvm-svn: 180799
2013-04-30 20:04:37 +00:00
clang Struct-path aware TBAA: enable struct-path aware TBAA for classes. 2013-04-30 17:38:09 +00:00
clang-tools-extra Allow autotools to build and install cpp11-migrate 2013-04-29 18:23:45 +00:00
compiler-rt Rewrite sw_vers makefile check to avoid error message on Linux. 2013-04-30 17:06:40 +00:00
debuginfo-tests Remove IR scenario tests. 2013-03-15 20:52:10 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx Add entry for myself. 2013-04-29 19:55:32 +00:00
libcxxabi Add capability to demangle invocation functions for ObjC blocks. 2013-04-10 19:44:03 +00:00
lld [lld][ELF] continue on finding a section with no symbols, tests already present 2013-04-30 03:14:01 +00:00
lldb Rename unwind_diagnose.py to diagnose_unwind.py. Change 2013-04-30 03:03:06 +00:00
llvm LocalStackSlotAllocation improvements 2013-04-30 20:04:37 +00:00
polly IndependentBlocks: We can only reconstruct PHI nodes that are within the ScoP 2013-04-17 07:20:36 +00:00