search for: _conflict_resolution_stub

Displaying 2 results from an estimated 2 matches for "_conflict_resolution_stub".

2015 Jun 01
0
[LLVMdev] Hash Table Virtual Calls with Conflict Resolution Stubs
...'m not sure I understand what you mean by "forward a return value", but running the following: declare i32 @f(i32, i64) define i32 @conflict_resolution_stub(i32 %t, i64 %arg0) { %v = musttail call i32 @f(i32 %t, i64 %arg0) ret i32 %v } through `llc -O3` gives (trimmed output): _conflict_resolution_stub: ## @conflict_resolution_stub pushq %rax popq %rax jmp _f ## TAILCALL I'm not sure what the pushq and popq %rax is here, looks like a codegen glitch, but you do get the jmp _f as expected. -- Sanjoy
2015 May 31
4
[LLVMdev] Hash Table Virtual Calls with Conflict Resolution Stubs
Hi everyone, I'm the developer of the Loci programming language ( http://loci-lang.org ), for which the compiler is a front-end for LLVM. I would like to say that LLVM has been extremely useful for the development of the compiler and so thank you everyone for building this amazing system. ---- Virtual Method Calls ---- While most aspects of the language map well onto LLVM IR, it seems