Displaying 2 results from an estimated 2 matches for "usebar".
Did you mean:
usar
2011 Feb 26
0
[LLVMdev] LLVM IR Type System Rewrite
...lcome!
So struct types would unique by name. How important would it be for
the linker to preserve those names? Because I can think of a few
examples where it could be problematic. For instance, if you want to
link
%Foo = type { i32 }
%Bar = type { i32 }
%myFoo = global %Foo
declare void @useBar(%Bar* %arg)
; ...
with
%Baz = type { i32 }
%myFoo = global %Baz
declare void @useBar(%Baz* %par)
; ...
then AFAICS the linker would either have to insert some casts (ugly)
or it would need to somehow recognize that %Baz, %Foo *and* %Bar need
to be merged into one type.
Inserting cast...
2011 Feb 26
17
[LLVMdev] LLVM IR Type System Rewrite
Several people have been proding me to write up my thoughts on how to fix the IR type system for LLVM 3.0. Here are some (fairly stream of conscious) thoughts on the matter:
http://nondot.org/sabre/LLVMNotes/TypeSystemRewrite.txt
Comments welcome!
-Chris