[llvm-commits] [llvm-gcc-4.2] r56512 - in /llvm-gcc-4.2/trunk/gcc: llvm-backend.cpp llvm-convert.cpp

Devang Patel dpatel at apple.com
Tue Sep 23 16:16:51 PDT 2008


On Sep 23, 2008, at 4:07 PM, Chris Lattner wrote:

> On Sep 23, 2008, at 3:53 PM, Devang Patel wrote:
>> URL: http://llvm.org/viewvc/llvm-project?rev=56512&view=rev
>> Log:
>> Notes are implemented as an attribute at index ~0
>
> Ok
>
>>
>>  for (Module::iterator I = TheModule->begin(), E = TheModule->end();
>>       I != E; ++I)
>> -    if (I->hasNote(FN_NOTE_AlwaysInline)) {
>> +    if (I->hasNote(ParamAttr::FN_NOTE_AlwaysInline)) {
>
> Is there a reason to keep the FN_NOTE prefix?

hmm.. now it does not add much value. I'll remove these prefixes.
-
Devang



More information about the llvm-commits mailing list