Displaying 2 results from an estimated 2 matches for "ltmp69".
Did you mean:
ltmp6
2013 Dec 20
1
[LLVMdev] spilling & restoring registers for EHReturn & return _Unwind_Reason_Code
...iz unwind-dw2.c will report:
BB#0: derived from LLVM BB %entry
Live Ins: %R0 %R0 %R1 %R4 %R5 %R6 %R7 %R8 %R9 %R10 %LR %R0 %R1
ENTSP_lu6 120, %SP<imp-def>, %SP<imp-use>, %LR<imp-use,kill>
PROLOG_LABEL <MCSym=.Ltmp68>
PROLOG_LABEL <MCSym=.Ltmp69>
STWSP_lru6 %R0<kill>, 119, %SP<imp-use>
PROLOG_LABEL <MCSym=.Ltmp59>
STWSP_lru6 %R1<kill>, 118, %SP<imp-use>
PROLOG_LABEL <MCSym=.Ltmp60>
STWSP_lru6 %R4<kill>, 117, %SP<imp-use>
PROLOG_LABEL <MCSy...
2013 May 19
0
[LLVMdev] clobbering callee-save registers
...2 @testfun(i32 %arg)
{
tail call void asm sideeffect "" , "~{%r12},~{%r13}"()
ret i32 %arg
}
Would cause both r12 and r13 to be pushed in the prologue and popped before returning, but it actually just compiles into this:
_testfun: ## @testfun
Ltmp69:
## BB#0:
## InlineAsm Start
## InlineAsm End
movl>---%edi, %eax
ret
Ltmp70:
Just in case it was being very clever, I changed the assembly to actually clobber r12 and r13 with no effect.
So, first: am I misunderstanding the semantics (or syntax) of clobbering a register? It...