[llvm-commits] [llvm-gcc-4.2] r164761 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Duncan Sands
baldrick at free.fr
Thu Sep 27 03:14:56 PDT 2012
Hi Bill,
> Convert to the new attribute query format.
it is pointless converting llvm-gcc, it hasn't compiled against trunk in a long
time AFAIK.
Ciao, Duncan.
>
> Modified:
> llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
>
> Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=164761&r1=164760&r2=164761&view=diff
> ==============================================================================
> --- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
> +++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Thu Sep 27 02:00:16 2012
> @@ -826,7 +826,7 @@
> // functions that are marked as always_inline.
> for (Module::iterator I = TheModule->begin(), E = TheModule->end();
> I != E; ++I)
> - if (I->hasFnAttr(Attribute::AlwaysInline)) {
> + if (I->getFnAttributes().hasAlwaysInlineAttr()) {
> NeedAlwaysInliner = true;
> break;
> }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list