aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/globalvars.ll
Commit message (Collapse)AuthorAgeFilesLines
* Update aosp/master llvm for rebase to r233350Pirama Arumuga Nainar2015-04-091-1/+1
| | | | Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49
* Update LLVM for rebase to r212749.Stephen Hines2014-07-211-0/+2
| | | | | | | Includes a cherry-pick of: r212948 - fixes a small issue with atomic calls Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
* Land the long talked about "type system rewrite" patch. ThisChris Lattner2011-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patch brings numerous advantages to LLVM. One way to look at it is through diffstat: 109 files changed, 3005 insertions(+), 5906 deletions(-) Removing almost 3K lines of code is a good thing. Other advantages include: 1. Value::getType() is a simple load that can be CSE'd, not a mutating union-find operation. 2. Types a uniqued and never move once created, defining away PATypeHolder. 3. Structs can be "named" now, and their name is part of the identity that uniques them. This means that the compiler doesn't merge them structurally which makes the IR much less confusing. 4. Now that there is no way to get a cycle in a type graph without a named struct type, "upreferences" go away. 5. Type refinement is completely gone, which should make LTO much MUCH faster in some common cases with C++ code. 6. Types are now generally immutable, so we can use "Type *" instead "const Type *" everywhere. Downsides of this patch are that it removes some functions from the C API, so people using those will have to upgrade to (not yet added) new API. "LLVM 3.0" is the right time to do this. There are still some cleanups pending after this, this patch is large enough as-is. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134829 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove llvm-upgrade and update tests.Tanya Lattner2008-03-011-22/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47784 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the llvm-upgrade program to upgrade llvm assembly.Reid Spencer2006-12-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
* Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 andReid Spencer2006-11-231-1/+1
| | | | | | | | older features will be dropped soon and these test cases must not rely on the upgrade capability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31896 91177308-0d34-0410-b5e6-96231b3b80d8
* Added RUN lines and dejagnu support for Feature dir.Tanya Lattner2004-11-071-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17568 91177308-0d34-0410-b5e6-96231b3b80d8
* Add test for new zeroinitializer tokenChris Lattner2003-06-281-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6936 91177308-0d34-0410-b5e6-96231b3b80d8
* Test "external" modifier on global variableChris Lattner2002-10-061-2/+2
| | | | | | | Fix getelementptr instruction to use long isntead of uint index git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4047 91177308-0d34-0410-b5e6-96231b3b80d8
* Covnert tests to not use indexed load/storesChris Lattner2002-08-221-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3454 91177308-0d34-0410-b5e6-96231b3b80d8
* Update LLVM tests to use new pointer indexing, and remove unsized array test ↵Chris Lattner2001-12-141-1/+1
| | | | | | support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1474 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a string global variable.Vikram S. Adve2001-10-141-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@796 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix testcases to handle new syntax for construction and initializeationChris Lattner2001-09-181-3/+5
| | | | | | | Test constants git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@600 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement global variable supportChris Lattner2001-09-101-0/+14
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@530 91177308-0d34-0410-b5e6-96231b3b80d8