commit | 008cd3ecea2958540d8d8f5370deffb6103c6758 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Fri Sep 26 23:51:19 2008 +0000 |
committer | Devang Patel <dpatel@apple.com> | Fri Sep 26 23:51:19 2008 +0000 |
tree | ee745b3e5a1a68cb4e954c3fdfe482b355be0d8f | |
parent | 38ee4100731aacc8b51455c0fd4df7daa0855d73 [diff] |
Implement function notes as function attributes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56716 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/ARM/fpow.ll b/test/CodeGen/ARM/fpow.ll index 02a895b..155763c 100644 --- a/test/CodeGen/ARM/fpow.ll +++ b/test/CodeGen/ARM/fpow.ll
@@ -1,7 +1,7 @@ ; RUN: llvm-as < %s | llc -march=arm ; RUN: llvm-as < %s | llc -march=thumb -define double @t(double %x, double %y) nounwind notes(opt_size) { +define double @t(double %x, double %y) nounwind optsize { entry: %0 = tail call double @llvm.pow.f64( double %x, double %y ) ; <double> [#uses=1] ret double %0
diff --git a/test/Transforms/Inline/2008-09-02-AlwaysInline.ll b/test/Transforms/Inline/2008-09-02-AlwaysInline.ll index 188d4c9..b42e559 100644 --- a/test/Transforms/Inline/2008-09-02-AlwaysInline.ll +++ b/test/Transforms/Inline/2008-09-02-AlwaysInline.ll
@@ -1,6 +1,6 @@ ; RUN: llvm-as < %s | opt -inline-threshold=0 -inline | llvm-dis | not grep call -define i32 @fn2() notes(inline=always) { +define i32 @fn2() alwaysinline { ret i32 1 }
diff --git a/test/Transforms/Inline/2008-09-02-NoInline.ll b/test/Transforms/Inline/2008-09-02-NoInline.ll index 1d37b08..35b4b46 100644 --- a/test/Transforms/Inline/2008-09-02-NoInline.ll +++ b/test/Transforms/Inline/2008-09-02-NoInline.ll
@@ -1,6 +1,6 @@ ; RUN: llvm-as < %s | opt -inline | llvm-dis | grep call | count 1 -define i32 @fn2() notes(inline=never) { +define i32 @fn2() noinline { ret i32 1 }