aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/Assembler/2008-09-02-FunctionNotes.ll4
-rw-r--r--test/Assembler/2008-09-02-FunctionNotes2.ll4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/Assembler/2008-09-02-FunctionNotes.ll b/test/Assembler/2008-09-02-FunctionNotes.ll
index ba886b1..5ac9bbe 100644
--- a/test/Assembler/2008-09-02-FunctionNotes.ll
+++ b/test/Assembler/2008-09-02-FunctionNotes.ll
@@ -1,11 +1,11 @@
; Test function notes
; RUN: llvm-as < %s | llvm-dis | grep inline | count 2
-define void @fn1() notes(inline=always) {
+define void @fn1() alwaysinline {
ret void
}
-define void @fn2() notes(inline=never) {
+define void @fn2() noinline {
ret void
}
diff --git a/test/Assembler/2008-09-02-FunctionNotes2.ll b/test/Assembler/2008-09-02-FunctionNotes2.ll
index 7740bdd..08fd139 100644
--- a/test/Assembler/2008-09-02-FunctionNotes2.ll
+++ b/test/Assembler/2008-09-02-FunctionNotes2.ll
@@ -1,7 +1,7 @@
; Test function notes
; RUN: not llvm-as %s |& grep "only one inline note"
-
-define void @fn1() notes(inline=always,inline=never) {
+; XFAIL: *
+define void @fn1() alwaysinline, noinline {
ret void
}