[LLVMdev] Eliminating the 'void' type
Lyu Mitnick
mitnick.lyu at gmail.com
Mon Apr 23 05:57:32 PDT 2012
Hello Chris
The general concept is to replace void with {}. Void is a weird type in
>> that it is only allowed as the return value of functions and as the type of
>> instructions like store. It seems better (though also not particularly
>> high priority) to eliminate it to make the type system more consistent.
>>
>
MVT::isVoid and Type::VoidTyID (getVoidTy) have equivalent relation in
LLVM. I am
wondering to know whether the relation becomes MVT::isVoid corresponding to
{ } If
eliminating void type?
Thanks a lot
Mitnick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120423/46ee0e57/attachment.html>
More information about the llvm-dev
mailing list