mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
Add new test that causes infinite recursion in bu pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4669 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a2b8d7bff2
commit
e9a1cbbfe0
24
test/Transforms/DSAnalysis/recursion.ll
Normal file
24
test/Transforms/DSAnalysis/recursion.ll
Normal file
@ -0,0 +1,24 @@
|
||||
implementation ; Functions:
|
||||
|
||||
declare void %__main()
|
||||
|
||||
void %A(int* %L) {
|
||||
bb0: ; No predecessors!
|
||||
call void %B( int* %L )
|
||||
call void %A( int* %L )
|
||||
ret void
|
||||
}
|
||||
|
||||
void %B(int* %L) {
|
||||
bb0: ; No predecessors!
|
||||
call void %A( int* %L )
|
||||
ret void
|
||||
}
|
||||
|
||||
void %main() {
|
||||
bb0: ; No predecessors!
|
||||
call void %__main( )
|
||||
call void %A( int* null )
|
||||
ret void
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user