mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 22:07:27 +00:00
New testcase, the BU pass is marking the global complete in the globals graph.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20772 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f2dce8d29b
commit
4c10375785
12
test/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
Normal file
12
test/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
Normal file
@ -0,0 +1,12 @@
|
||||
; RUN: analyze %s -datastructure-gc -dsgc-check-flags=G:GIM -dsgc-dspass=bu
|
||||
|
||||
|
||||
%S = type { double, int }
|
||||
|
||||
%G = external global %S
|
||||
|
||||
void %main() {
|
||||
%b = getelementptr %S* %G, long 0, ubyte 0
|
||||
store double 0.1, double* %b
|
||||
ret void
|
||||
}
|
Loading…
Reference in New Issue
Block a user