summaryrefslogtreecommitdiff
path: root/test/CodeGen/target-data.c
Commit message (Collapse)AuthorAge
* AArch64/ARM64: update Clang after AArch64 removal.Tim Northover2014-05-24
| | | | | | | | | | | A few (mostly CodeGen) parts of Clang were tightly coupled to the AArch64 backend. Now that it's gone, they will not even compile. I've also deduplicated RUN lines in many of the AArch64 tests. This might improve "make check-all" time noticably: some of those NEON tests were monsters. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209578 91177308-0d34-0410-b5e6-96231b3b80d8
* Forgot to add updated datalayout testMatt Arsenault2014-05-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209465 91177308-0d34-0410-b5e6-96231b3b80d8
* [ARM64] Port remaining relevant AArch64 clang tests over to ARM64Bradley Smith2014-04-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207632 91177308-0d34-0410-b5e6-96231b3b80d8
* Update DataLayout/DescriptionString for ppc64leWill Schmidt2014-03-24
| | | | | | | | | | | | | Update DataLayout/DescriptionString for ppc64le Similar LLVM change made in r203664 Testcase included. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204613 91177308-0d34-0410-b5e6-96231b3b80d8
* Use 'w' instead of 'c' to represent the win32 mangling.Rafael Espindola2014-01-10
| | | | | | | This change was requested to avoid confusion if we ever support non windows coff systems. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198939 91177308-0d34-0410-b5e6-96231b3b80d8
* Update for llvm's DataLayout including mangling information.Rafael Espindola2014-01-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198439 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the now unused 's' specifications.Rafael Espindola2014-01-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198308 91177308-0d34-0410-b5e6-96231b3b80d8
* Small simplification: p0 is the same as p.Rafael Espindola2013-12-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197700 91177308-0d34-0410-b5e6-96231b3b80d8
* Update SI datalayout for 32-bit private pointersMatt Arsenault2013-12-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197660 91177308-0d34-0410-b5e6-96231b3b80d8
* On spacv8 f128 is only aligned to 64 bits.Rafael Espindola2013-12-19
| | | | | | | | LLVM already got this right. Found on "Figure 3-1: Scalar Types" on http://sparc.com/standards/psABI3rd.pdf. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197651 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the DataLayout string produced by clang for NaCl.Rafael Espindola2013-12-18
| | | | | | Reviewed by Derek Schuff. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197628 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test for mipsel-nacl too.Rafael Espindola2013-12-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197617 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -f64:32:64 to the darwin ppc32 DataLayout.Rafael Espindola2013-12-18
| | | | | | A f64 inside a struct can be 32 bit aligned on darwin. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197577 91177308-0d34-0410-b5e6-96231b3b80d8
* Use arm-nacl-gnueabi instead of arm-nacl to match the previous tests.Rafael Espindola2013-12-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197550 91177308-0d34-0410-b5e6-96231b3b80d8
* Split this test into one per supporter nacl arch.Rafael Espindola2013-12-18
| | | | | | | | | Right now clang produces the same DataLayout for all of them, but it could, for example, add 'n' specifications when the end architecture is given. No functionality change, this should just make future changes easier to read. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197549 91177308-0d34-0410-b5e6-96231b3b80d8
* Print the 'p' specification before the 'i' specification.Rafael Espindola2013-12-18
| | | | | | No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197548 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a 's' specifications to AArch64.Rafael Espindola2013-12-17
| | | | | | | | This has no functionality change as clang adds explicit alignment info for byval arguments. The only difference is that now the clang produced DataLayout string for AArch64 is identical to the LLVM produced one. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197538 91177308-0d34-0410-b5e6-96231b3b80d8
* Use triples that match the -target-abi option.Rafael Espindola2013-12-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197522 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove -f128:128 from the DataLayout strings. It is the default.Rafael Espindola2013-12-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197504 91177308-0d34-0410-b5e6-96231b3b80d8
* The PS3 is a ppc64 and has 64 bit registers. Update DataLayout accordingly.Rafael Espindola2013-12-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197502 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove -f16:16:32 from the XCore DataLayout string.Rafael Espindola2013-12-17
| | | | | | This makes it identical to the string llvm produces. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197500 91177308-0d34-0410-b5e6-96231b3b80d8
* Reorder these DataLayout entries to match the order LLVM uses.Rafael Espindola2013-12-17
| | | | | | | This completes the cleanup/refactoring of DataLayout on the clang side. Next is figuring out the differences between the llvm and clang produced strings git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197442 91177308-0d34-0410-b5e6-96231b3b80d8
* The preferred alignment defaults to the ABI one. Omit it if it is the same.Rafael Espindola2013-12-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197440 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove another default I missed before.Rafael Espindola2013-12-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197437 91177308-0d34-0410-b5e6-96231b3b80d8
* Clang DataLayout string cleanup: don't print other defaults.Rafael Espindola2013-12-16
| | | | | | I missed these in previous commits. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197435 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead data.Rafael Espindola2013-12-16
| | | | | | | The f80:128:128 was followed by a f80:32:32 and so never used. Looks like this was there since r91746. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197433 91177308-0d34-0410-b5e6-96231b3b80d8
* Clang DataLayout string cleanup: don't print the pointer defaults.Rafael Espindola2013-12-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197430 91177308-0d34-0410-b5e6-96231b3b80d8
* Clang DataLayout string cleanup: don't print the aggregate defaults.Rafael Espindola2013-12-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197429 91177308-0d34-0410-b5e6-96231b3b80d8
* Clang DataLayout string cleanup: don't print the vector defaults.Rafael Espindola2013-12-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197427 91177308-0d34-0410-b5e6-96231b3b80d8
* Clang DataLayout string cleanup: don't print the FP defaults.Rafael Espindola2013-12-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197422 91177308-0d34-0410-b5e6-96231b3b80d8
* Clang DataLayout string cleanup: don't print the integer defaults.Rafael Espindola2013-12-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197421 91177308-0d34-0410-b5e6-96231b3b80d8
* Add tests for all DescriptionString in Targets.cpp.Rafael Espindola2013-12-15
| | | | | | | These right now just test that the same string is present in two files, but will become more useful as clang's handling of DataLayout is refactored. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197347 91177308-0d34-0410-b5e6-96231b3b80d8
* Consolidate DataLayout string testing in one file.Rafael Espindola2013-12-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197276 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert test to FileCheck.Rafael Espindola2013-12-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197269 91177308-0d34-0410-b5e6-96231b3b80d8
* Use a: and s: instead of a0: and s0: in the DataLayout strings.Rafael Espindola2013-12-13
| | | | | | They are equivalent and the size of 'a' and 's' is unused. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197256 91177308-0d34-0410-b5e6-96231b3b80d8
* Added natural stack alignment to target-data.c test case.Lang Hames2011-10-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141622 91177308-0d34-0410-b5e6-96231b3b80d8
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-15
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove RUN: true lines.Daniel Dunbar2009-11-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86432 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate &&s in tests.Daniel Dunbar2009-11-08
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86430 91177308-0d34-0410-b5e6-96231b3b80d8
* commit test updateChris Lattner2009-11-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86396 91177308-0d34-0410-b5e6-96231b3b80d8
* Add stack alignment to x86_64 target data.Daniel Dunbar2009-06-08
- <rdar://problem/6948443> WARNING: Linking two modules of different data layouts! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73093 91177308-0d34-0410-b5e6-96231b3b80d8