Displaying 1 result from an estimated 1 matches for "ltmp70".
Did you mean:
ltmp0
2013 May 19
0
[LLVMdev] clobbering callee-save registers
...)
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 seems surprising to me that this wouldn't mark the register as needing to be saved. Second: Is...