-inline ignores noinline attribute
| Bugzilla Link | 6682 |
| Resolution | FIXED |
| Resolved on | Mar 24, 2010 23:51 |
| Version | trunk |
| OS | All |
| Reporter | LLVM Bugzilla Contributor |
| CC | @echristo |
Extended Description
Consider the following test case:
declare void @foo() nounwind
define void @bar() nounwind { entry: tail call void @foo() nounwind ret void }
define void @bazz() nounwind { entry: tail call void @bar() nounwind noinline ret void }
-inline inlines @bar into @bazz, despite the noinline attribute.
Reapplied here with a small fix:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100322/098544.html
Testing a fix.
Seemed to have caused a problem in an apple project. Reopening and looking into it.
Fixed, thanks: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100322/098426.html
assigned to @echristo