summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-20 07:21:42 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-20 07:21:42 +0000
commit90bc19cd914c9870c1d1701b3a3e290b135c63b6 (patch)
tree7736dc6d4af8aa2de18f78a625376295275cbd6a /llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll
parent8e60d4d240ebf86f8cc62d9a638f816ac255b875 (diff)
downloadbcm5719-llvm-90bc19cd914c9870c1d1701b3a3e290b135c63b6.tar.gz
bcm5719-llvm-90bc19cd914c9870c1d1701b3a3e290b135c63b6.zip
Modify the LLVM assembly output so that it uses references to represent function attributes.
This makes the LLVM assembly look better. E.g.: define void @foo() #0 { ret void } attributes #0 = { nounwind noinline ssp } llvm-svn: 175605
Diffstat (limited to 'llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll')
-rw-r--r--llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll b/llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll
index 5a21672a596..4278ef16d21 100644
--- a/llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll
+++ b/llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll
@@ -4,7 +4,7 @@
; Indvars and loop deletion should be able to eliminate all looping
; in this testcase.
-; CHECK: define i32 @pmat(i32 %m, i32 %n, double* %y) nounwind {
+; CHECK: define i32 @pmat(i32 %m, i32 %n, double* %y) #0 {
; CHECK-NEXT: entry:
; CHECK-NEXT: ret i32 0
; CHECK-NEXT: }
@@ -63,3 +63,5 @@ w.e:
w.e12:
ret i32 0
}
+
+; CHECK: attributes #0 = { nounwind }
OpenPOWER on IntegriCloud