summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/codemodels.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a AArch64 triple to tiny codemodel test.David Green2018-12-071-1/+1
| | | | | | Most other targets do not support the tiny code model. llvm-svn: 348582
* Fix codemodels.c test case (only test mcmodel=medium on X86).Caroline Tice2018-09-221-1/+1
| | | | | | | | | aarch64 testing is broken because "medium" is not a valid code-model on aarch64, and codemodels.c tests that. This fixes that problem by adding "-triple x86_64-unknown-linux-gnu" to the test with "-mcode-model moedium". llvm-svn: 342812
* Fix codemodels.c test case (only test mcmodel-kernel on x86)Caroline Tice2018-09-211-1/+1
| | | | | | | | | | | | A recent commit I made broke aarch64 testing, because "kernel" apparently is not a valid code-model on aarch64, and one of my tests tested that. This fixes the problem (hopefully) by adding "-triple x86_64-unknown-linux-gnu" to the test build with "-mcodel-model kernel". Differential Revision: https://reviews.llvm.org/D52383 llvm-svn: 342789
* Add necessary support for storing code-model to module IR.Caroline Tice2018-09-211-0/+18
Currently the code-model does not get saved in the module IR, so if a code model is specified when compiling with LTO, it gets lost and is not propagated properly to LTO. This patch does what is necessary in the front end to pass the code-model to the module, so that the back end can store it in the Module . Differential Revision: https://reviews.llvm.org/D52323 llvm-svn: 342758
OpenPOWER on IntegriCloud