summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/ADCE/dce_pure_call.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/ADCE/dce_pure_call.ll b/test/Transforms/ADCE/dce_pure_call.ll
index a7414e0..3935bf7 100644
--- a/test/Transforms/ADCE/dce_pure_call.ll
+++ b/test/Transforms/ADCE/dce_pure_call.ll
@@ -1,8 +1,8 @@
; RUN: llvm-as < %s | opt -adce | llvm-dis | not grep call
-declare i32 @strlen(i8*) readonly
+declare i32 @strlen(i8*) readonly nounwind
define void @test() {
- call i32 @strlen( i8* null ) readonly ; <i32>:1 [#uses=0]
+ call i32 @strlen( i8* null ) ; <i32>:1 [#uses=0]
ret void
}