Hello all,<br><br>I am willing to do "eliminating the void type" project. Is there anyone working on it?<br><br>=== Overview ===<br><br>The general concept is to replaced void with {}. And 'ret void' is a synonym of 'ret {} {}.' <br>
<br>=== Further Implementation Details ===<br><br>1. Deleting VoidTyID<br><br>2. Deleting LLVMVoidTypeKind (one-to-one relation between VoidTyID and LLVMVoidTypeKind)<br><br>3. Use StructTy* VoidTy instead of Type VoidTy<br>
VoidTy may be Identified struct. In addition to error occurs at test/Analysis/BasicAA/empty.ll <br> because of using literal struct "{}" as VoidTy<br><br>4. Re-implement isVoidTy().<br> Test whether the address of the type equals Type::getVoidTy()<br>
<br>=== Request For Command ===<br><br>The constructor form of ReturnInst<br><br>Any suggestion is welcomed.<br><br>Thanks a lot<br><br>Mitnick<br>