mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
remove some unneeded eh info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74371 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1873d0c225
commit
600d006cc7
@ -5,7 +5,7 @@
|
||||
|
||||
@a = internal global i32 0
|
||||
|
||||
define i32 @get_a() {
|
||||
define i32 @get_a() nounwind {
|
||||
entry:
|
||||
%tmp1 = load i32* @a, align 4
|
||||
ret i32 %tmp1
|
||||
|
@ -2,7 +2,7 @@
|
||||
; RUN: llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1 -f
|
||||
; RUN: grep {movq f@GOTPCREL(%rip),} %t1
|
||||
|
||||
define void ()* @g() {
|
||||
define void ()* @g() nounwind {
|
||||
entry:
|
||||
ret void ()* @f
|
||||
}
|
||||
|
@ -3,12 +3,12 @@
|
||||
; RUN: grep {leaq f(%rip),} %t1
|
||||
; RUN: not grep GOTPCREL %t1
|
||||
|
||||
define void ()* @g() {
|
||||
define void ()* @g() nounwind {
|
||||
entry:
|
||||
ret void ()* @f
|
||||
}
|
||||
|
||||
define internal void @f() {
|
||||
define internal void @f() nounwind {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user