Commit Graph

15 Commits

Author SHA1 Message Date
Chris Lattner
ef07cc5e48 New testcase. Shrinking the variable to a bool allows instcombine to delete
the condition.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18816 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-12 05:52:12 +00:00
Tanya Lattner
c8c1f12778 Adding srcdir arg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18020 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 22:45:25 +00:00
Chris Lattner
826c47ea5b New testcase. Believe it or not, this happens a LOT in vortex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17745 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 20:41:39 +00:00
Tanya Lattner
28b372f1d3 Adding subdirectory dg.exp files in order to be able to use dejagnu to only run specific tests (located in some subdirectory of Regression)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17712 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:00:45 +00:00
Chris Lattner
40e08082a0 New testcase. Check for the ability to promote a malloc whose initialzed state is checked by the program
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17160 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22 06:43:07 +00:00
Chris Lattner
6542a46e6f New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17061 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-16 18:28:01 +00:00
Chris Lattner
c58cf5b921 This testcase ensures that we can SRA a global even if part of the global
cannot be SRA'd


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16915 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-11 05:00:30 +00:00
Chris Lattner
95d0bbfda6 These testcases check to see if we can promote malloc's to globals in some
cases.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16914 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-11 05:00:12 +00:00
Chris Lattner
e3f27e66e5 Another testcase. We should be able to devirtualize the call even though
we cannot completely eliminate the global.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16900 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-10 23:12:33 +00:00
Chris Lattner
b3deddcf25 New testcase that crashes -globalopt. I found this through inspection, not
actually in the wild :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16877 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-10 17:06:09 +00:00
Chris Lattner
ba31f8098f New testcase we were not handling before.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16875 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-10 16:46:48 +00:00
Chris Lattner
3de9848330 A testcase that globalopt now handles
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16872 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-09 21:50:05 +00:00
Chris Lattner
508540321b New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16856 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-08 20:57:46 +00:00
Chris Lattner
bb99fc42e3 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16841 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-08 17:29:47 +00:00
Chris Lattner
904697e591 Move these files from Transforms/GlobalConstifier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16808 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-07 19:16:26 +00:00