[LLVMdev] GenRegisterInfo.h.inc

Paolo Invernizzi arathorn at fastwebnet.it
Tue Oct 12 01:20:21 PDT 2004


Hi all,

I cannot figure out why is named GenRegisterInfo.h.inc and not 
GenRegisterInfo.inc ...
Is it for a dependency problem?

Back again to compilation problems under win32 with VC

llvm\lib\Analysis\DataStructure\Local.cpp(628) : error C2105: '--' needs 
l-value

the line is:

    Result.mergeWith(getValueDest(**--CS.arg_end()));

Can I submit patches for mutate it in something like:

    llvm::CallSite::arg_iterator ii = CS.arg_end();
    --ii;
    Result.mergeWith(getValueDest(**ii));

There're several of this in Local.cpp, and this is the only file affected.

---
Paolo Invernizzi




More information about the llvm-dev mailing list