diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-10-23 19:52:27 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-10-23 19:52:27 +0000 |
commit | 21c04a3c8befd0712efec80861ff6c563f6023af (patch) | |
tree | 554cc2befdce99eabcc060b24187bfcfa6827c30 | |
parent | ddaaa374879f2f736f7bfa20f4b25202fcb85708 (diff) |
restore these tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31133 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Analysis/DSGraph/FunctionPointerTable-const.ll | 4 | ||||
-rw-r--r-- | test/Analysis/DSGraph/GlobalsGraphFuncPtr.ll | 3 | ||||
-rw-r--r-- | test/Analysis/DSGraph/constant_globals.ll | 3 |
3 files changed, 3 insertions, 7 deletions
diff --git a/test/Analysis/DSGraph/FunctionPointerTable-const.ll b/test/Analysis/DSGraph/FunctionPointerTable-const.ll index 1b8e198f28..9c904fa0e0 100644 --- a/test/Analysis/DSGraph/FunctionPointerTable-const.ll +++ b/test/Analysis/DSGraph/FunctionPointerTable-const.ll @@ -1,6 +1,4 @@ -; FIXME: this should be SHM for bu, but change it for now since besides incompleteness -; this is working -; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=Y:SHIM && \ +; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=Y:SHM && \ ; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=P1:SHM,P2:SHM %G = internal constant [2 x int*(int*)*] [ diff --git a/test/Analysis/DSGraph/GlobalsGraphFuncPtr.ll b/test/Analysis/DSGraph/GlobalsGraphFuncPtr.ll index a3c13852e5..6cc06c4b01 100644 --- a/test/Analysis/DSGraph/GlobalsGraphFuncPtr.ll +++ b/test/Analysis/DSGraph/GlobalsGraphFuncPtr.ll @@ -4,8 +4,7 @@ ; -- latter should remain unresolved in main() and copied to GG ; -- globals in GG pointed to by latter should be marked I, but not other nodes ; -; FIXME: KnownPtr should be just S. -; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=KnownPtr:SI,UnknownPtr:SI -dsgc-dspass=bu +; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=KnownPtr:S,UnknownPtr:SI -dsgc-dspass=bu %Z = internal global int 0 %X = internal global int 0 diff --git a/test/Analysis/DSGraph/constant_globals.ll b/test/Analysis/DSGraph/constant_globals.ll index eef65c669a..1ee6530883 100644 --- a/test/Analysis/DSGraph/constant_globals.ll +++ b/test/Analysis/DSGraph/constant_globals.ll @@ -1,5 +1,4 @@ -; FIXME: A should just be SM -; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=A:SIM +; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=A:SM ; Constant globals should not mark stuff incomplete. This should allow the ; bu pass to resolve the indirect call immediately in "test", allowing %A to ; be marked complete and the store to happen. |