From c0f91e108176439c294290db54d495ba47313774 Mon Sep 17 00:00:00 2001 From: Elena Demikhovsky Date: Wed, 18 Feb 2015 08:09:28 +0000 Subject: [PATCH] Minor fix after 229495. Removed metadata and function attributes from the test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229647 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstMerge/st_sink_bugfix_22613.ll | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/test/Transforms/InstMerge/st_sink_bugfix_22613.ll b/test/Transforms/InstMerge/st_sink_bugfix_22613.ll index 6b817f20d16..34e3fdba28d 100644 --- a/test/Transforms/InstMerge/st_sink_bugfix_22613.ll +++ b/test/Transforms/InstMerge/st_sink_bugfix_22613.ll @@ -20,7 +20,7 @@ target triple = "x86_64-unknown-linux-gnu" @a = common global i32 0, align 4 ; Function Attrs: nounwind uwtable -define void @fn1() #0 { +define void @fn1() { entry: store i32 0, i32* @d, align 4 br label %for.cond @@ -84,7 +84,7 @@ for.end10: ; preds = %for.cond } ; Function Attrs: nounwind uwtable -define i32 @main() #0 { +define i32 @main() { entry: %retval = alloca i32, align 4 store i32 0, i32* %retval @@ -95,7 +95,7 @@ entry: br i1 %cmp, label %if.then, label %if.end if.then: ; preds = %entry - call void @abort() #2 + call void @abort() unreachable if.end: ; preds = %entry @@ -103,12 +103,4 @@ if.end: ; preds = %entry } ; Function Attrs: noreturn nounwind -declare void @abort() #1 - -attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { noreturn nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #2 = { noreturn nounwind } - -!llvm.ident = !{!0} - -!0 = !{!"clang version 3.7.0 (trunk 229288) (llvm/trunk 229286:229290M)"} +declare void @abort() -- 2.11.0