mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 02:43:51 +00:00
New, smaller testcase
llvm-svn: 6980
This commit is contained in:
parent
55099822d5
commit
ba9973bcf3
@ -0,0 +1,18 @@
|
||||
; 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
|
||||
;
|
||||
%T = type { int}
|
||||
|
||||
int %main() {
|
||||
%A = alloca %T
|
||||
%B = alloca { %T }
|
||||
%C = alloca %T*
|
||||
%Bp = getelementptr { %T }* %B, long 0, ubyte 0
|
||||
%Ap = getelementptr %T* %A, long 0, ubyte 0
|
||||
|
||||
store %T* %A, %T** %C
|
||||
store %T* %Bp, %T** %C ; This store was causing merging to happen!
|
||||
ret int 0
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user