Displaying 7 results from an estimated 7 matches for "rewritembb".
2009 Feb 05
2
[LLVMdev] LLVM misses some cross-MBB and loop optimizations compared to GCC
Hi,
While testing my new register allocators on some test-cases, I've
noticed that LLVM misses sometimes some optimization opportunities:
1) LocalSpiller::RewriteMBB seems not to propagate the information
about e.g. Spills between MBBs.In many cases, where MBB B1 has only
one predecessor MBB B2, B1 could reuse the information about the
physical registers that are in the live-out set of B2. This could help
to e.g. eliminate some useless reloads from spill slots,...
2009 Feb 06
0
[LLVMdev] LLVM misses some cross-MBB and loop optimizations compared to GCC
...zilla reports? I'll look at the first one soon.
Evan
On Feb 5, 2009, at 8:08 AM, Roman Levenstein wrote:
> Hi,
>
> While testing my new register allocators on some test-cases, I've
> noticed that LLVM misses sometimes some optimization opportunities:
>
> 1) LocalSpiller::RewriteMBB seems not to propagate the information
> about e.g. Spills between MBBs.In many cases, where MBB B1 has only
> one predecessor MBB B2, B1 could reuse the information about the
> physical registers that are in the live-out set of B2. This could help
> to e.g. eliminate some useless reloa...
2009 Nov 12
2
[LLVMdev] Bootstrap Failure
...been a recent bootstrap failure that might be covered up
because of another failure. I just wanted to point this out so that
people can take a look:
-bw
Here's the failure from our buildbot:
Assertion failed: (DestReg == VirtReg && "Unknown load situation!"),
function RewriteMBB, file /Volumes/Sandbox/Buildbot/llvm/build.llvm-
gcc-x86_64-darwin10-selfhost/llvmCore.roots/llvmCore~obj/src/lib/
CodeGen/VirtRegRewriter.cpp, line 2294.
/Volumes/Sandbox/Buildbot/llvm/build.llvm-gcc-x86_64-darwin10-selfhost/
llvmgcc42.roots/llvmgcc42~obj/obj-i686-i686/./gcc/xgcc -B/Volumes/
S...
2008 Sep 03
2
[LLVMdev] Codegen/Register allocation question.
...issues and found some time, so I'm
trying to port my PBQP register allocator to 2.4 in order to
contribute it (if you want it). I've run into a bug that has me
confused though.
I'm currently failing the following assertion:
llc: VirtRegMap.cpp:1733:
void<unnamed>::LocalSpiller::RewriteMBB(llvm::MachineBasicBlock&,
llvm::VirtRegMap&): Assertion `KillRegs[0] == Dst' failed.
when attempting to allocate this machine function:
entry:
4 %reg1024<def,dead> = MOV32rr %EDI<kill>
12 %reg1025<def,dead> = MOV64rr %RSI<kill>
20 ADJCALLSTACKDO...
2008 Sep 04
0
[LLVMdev] Codegen/Register allocation question.
...rder to
Nice! We would definitely welcome your contribution.
>
> contribute it (if you want it). I've run into a bug that has me
> confused though.
>
> I'm currently failing the following assertion:
>
> llc: VirtRegMap.cpp:1733:
> void<unnamed>::LocalSpiller::RewriteMBB(llvm::MachineBasicBlock&,
> llvm::VirtRegMap&): Assertion `KillRegs[0] == Dst' failed.
>
>
> when attempting to allocate this machine function:
>
> entry:
> 4 %reg1024<def,dead> = MOV32rr %EDI<kill>
> 12 %reg1025<def,dead> = MOV64rr...
2009 Mar 20
0
[LLVMdev] new warnings
...igned int, llvm::BitVector&,
std::vector<llvm::MachineOperand*,
std::allocator<llvm::MachineOperand*> >&)':
llvm/llvm/lib/CodeGen/Spiller.cpp:884: warning: unused variable 'TID'
llvm/llvm/lib/CodeGen/Spiller.cpp: In member function 'void
llvm::LocalSpiller::RewriteMBB(llvm::MachineBasicBlock&,
llvm::VirtRegMap&, llvm::AvailableSpills&, llvm::BitVector&,
std::vector<llvm::MachineOperand*,
std::allocator<llvm::MachineOperand*> >&)':
llvm/llvm/lib/CodeGen/Spiller.cpp:947: warning: unused variable 'TID'
llvm/llvm/lib...
2006 Aug 14
2
[LLVMdev] Folding instructions
...lvm::VirtRegMap::ModRef> > > >::erase (this=0x8d1afcc,
__x=@0xbfffe57c) at /usr/include/c++/4.0.0/bits/stl_multimap.h:414
#5 0x0073e0e4 in llvm::VirtRegMap::RemoveFromFoldedVirtMap
(this=0x8d1afa0, MI=0x8b417f0) at VirtRegMap.h:145
#6 0x0019f398 in (anonymous namespace)::LocalSpiller::RewriteMBB
(this=0x8b29460, MBB=@0x8b31230, VRM=@0x8d1afa0) at VirtRegMap.cpp:715
#7 0x007435b8 in (anonymous
namespace)::LocalSpiller::runOnMachineFunction (this=0x8b29460,
MF=@0x8b2b9d0, VRM=@0x8d1afa0) at VirtRegMap.cpp:219
#8 0x00155708 in (anonymous
namespace)::RegAllocChordal_Fer::runOnMachineFunction...