[llvm-commits] [llvm] r56939 - in /llvm/trunk: include/llvm/Attributes.h lib/VMCore/Verifier.cpp test/Assembler/2008-09-02-FunctionNotes2.ll

Duncan Sands baldrick at free.fr
Fri Oct 3 00:19:24 PDT 2008


> Yes, it is not possible to set "inreg" as a function attribute. Today  
> for backward compatibility, asm parser and bitcode reader will accept  
> "inreg" as a function attribute but they will immediately make it a  
> return attribute.

I was thinking more of a front-end that generates IR directly.
For example, if in llvm-gcc I accidentally tried to add "inreg"
at ~0 rather than 0, would the verifier catch that?

Ciao,

Duncan.



More information about the llvm-commits mailing list