Minor fix after 229495.
Removed metadata and function attributes from the test. llvm-svn: 229647
This commit is contained in:
parent
c1065b9a4f
commit
6ddd998589
|
@ -20,7 +20,7 @@ target triple = "x86_64-unknown-linux-gnu"
|
||||||
@a = common global i32 0, align 4
|
@a = common global i32 0, align 4
|
||||||
|
|
||||||
; Function Attrs: nounwind uwtable
|
; Function Attrs: nounwind uwtable
|
||||||
define void @fn1() #0 {
|
define void @fn1() {
|
||||||
entry:
|
entry:
|
||||||
store i32 0, i32* @d, align 4
|
store i32 0, i32* @d, align 4
|
||||||
br label %for.cond
|
br label %for.cond
|
||||||
|
@ -84,7 +84,7 @@ for.end10: ; preds = %for.cond
|
||||||
}
|
}
|
||||||
|
|
||||||
; Function Attrs: nounwind uwtable
|
; Function Attrs: nounwind uwtable
|
||||||
define i32 @main() #0 {
|
define i32 @main() {
|
||||||
entry:
|
entry:
|
||||||
%retval = alloca i32, align 4
|
%retval = alloca i32, align 4
|
||||||
store i32 0, i32* %retval
|
store i32 0, i32* %retval
|
||||||
|
@ -95,7 +95,7 @@ entry:
|
||||||
br i1 %cmp, label %if.then, label %if.end
|
br i1 %cmp, label %if.then, label %if.end
|
||||||
|
|
||||||
if.then: ; preds = %entry
|
if.then: ; preds = %entry
|
||||||
call void @abort() #2
|
call void @abort()
|
||||||
unreachable
|
unreachable
|
||||||
|
|
||||||
if.end: ; preds = %entry
|
if.end: ; preds = %entry
|
||||||
|
@ -103,12 +103,4 @@ if.end: ; preds = %entry
|
||||||
}
|
}
|
||||||
|
|
||||||
; Function Attrs: noreturn nounwind
|
; Function Attrs: noreturn nounwind
|
||||||
declare void @abort() #1
|
declare void @abort()
|
||||||
|
|
||||||
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)"}
|
|
||||||
|
|
Loading…
Reference in New Issue