Displaying 2 results from an estimated 2 matches for "deadmachineinstructionelimpass".
2010 Jun 03
0
[LLVMdev] FW: Unused argument registers can not be reused ?
...________
From: Arnaud Allard de Grandmaison
Sent: Thursday, June 03, 2010 9:57 PM
To: Jakob Stoklund Olesen
Subject: RE: [LLVMdev] Unused argument registers can not be reused ?
I have finally been able to make some progress : the bug has been introduced/revealed by svn commit #95493, which enabled DeadMachineInstructionElimPass for all targets.
Disabling this pass makes llvm-2.7 behave as expected.
What we can see when dumping the test function body at the path entry & exit is :
# Machine code for function test:
Function Live Ins: %R15W in reg%1024, %R14W in reg%1025, %R13W in reg%1026, %R12W in reg%1027
BB#0: deriv...
2010 Jun 03
2
[LLVMdev] Unused argument registers can not be reused ?
While migrating my codebase from llvm-2.6 to llvm-2.7, I found a different behaviour in the register allocation. I have been able to reproduce it using the msp430 backend, with the 2.7 release as well as the svn head.
For the msp430, the first four parameters of a function are passed thru registers. What I observe is that if those parameters are not used inside the function, those registers can