mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-27 02:31:09 +00:00
New testcase for DSA which is improperly collapsed!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9657 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc07a3473a
commit
dab02aeada
20
test/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll
Normal file
20
test/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll
Normal file
@ -0,0 +1,20 @@
|
||||
; This is the same testcase as 2003-06-29-NodeCollapsing2.ll, but it uses the
|
||||
; graph checker.
|
||||
;
|
||||
; RUN: analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
|
||||
;
|
||||
|
||||
%S = type { double, int }
|
||||
%T = type { double, int, sbyte }
|
||||
|
||||
void %test() {
|
||||
%A = alloca double*
|
||||
%B = alloca %S
|
||||
%C = alloca %T
|
||||
%b = getelementptr %S* %B, long 0, ubyte 0
|
||||
%c = getelementptr %T* %C, long 0, ubyte 0
|
||||
|
||||
store double* %b, double** %A
|
||||
store double* %c, double** %A
|
||||
ret void
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user