summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll')
-rw-r--r--llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll b/llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll
index 968718084e4..3146709aec6 100644
--- a/llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll
+++ b/llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll
@@ -15,7 +15,7 @@ entry:
ret i32 %call2
}
-define internal i32 @wwrite(i64 %i) nounwind readnone {
+define internal i32 @wwrite(i64 %i) nounwind {
entry:
switch i64 %i, label %sw.default [
i64 3, label %return
@@ -30,5 +30,4 @@ return:
}
; CHECK: attributes #0 = { noreturn nounwind }
-; CHECK: attributes #1 = { nounwind readnone }
-; CHECK: attributes [[NUW]] = { nounwind }
+; CHECK: attributes #1 = { nounwind }
OpenPOWER on IntegriCloud