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

Devang Patel dpatel at apple.com
Fri Oct 3 09:43:28 PDT 2008


On Oct 3, 2008, at 12:19 AM, Duncan Sands wrote:

>> 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?

Not yet but it is in my list. Ironically, right now ReturnOnly lists  
only function attributes :)
-
Devang






More information about the llvm-commits mailing list