[LLVMdev] hello world error
Jakob Stoklund Olesen
stoklund at 2pi.dk
Wed Jun 29 16:31:29 PDT 2011
On Jun 29, 2011, at 1:25 PM, Ankit Sethia wrote:
> Hi,
>
> Can people suggest how this is solved for other ISAs? This happens only for Alpha and not for x86-64. The register 16 does not have any uses within that function, but is used inside puts. So Machine DCE thinks it is dead code.
The argument registers are added to the call instruction as use operands. This is not the same as the implicit "Uses = […]" in the target description files. Only the registers used for the call are added.
I am not sure where that happens, please post the answer here when you find out.
/jakob
More information about the llvm-dev
mailing list