summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/bitfield.c
Commit message (Collapse)AuthorAgeFilesLines
* Turn struct-path aware TBAA on by default.Manman Ren2013-10-111-2/+2
| | | | | | | | Use -no-struct-path-tbaa to turn it off. This is the same as r191695, which was reverted because it depends on a commit that has issues. llvm-svn: 192497
* Revert r191586 and r191695. They cause crashes when building withRichard Smith2013-10-011-2/+2
| | | | | | -relaxed-aliasing. llvm-svn: 191725
* Turn struct-path aware TBAA on by default.Manman Ren2013-09-301-2/+2
| | | | | | Use -no-struct-path-tbaa to turn it off. llvm-svn: 191695
* Don't use mangleCXXRTTIName in TBAA for C code.Manman Ren2013-08-211-0/+9
| | | | | | | | | | | With r185721, calling mangleCXXRTTIName on C code will cause crashes. This commit fixes crashes on C testing cases when turning on struct-path TBAA. For C code, we simply use the Decl name without the context. This can cause two different structs having the same name, and may cause inaccurate but conservative alias results. llvm-svn: 188930
* Update testing case to use FileCheck instead of grep.Manman Ren2013-08-211-3/+9
| | | | llvm-svn: 188929
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - 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). llvm-svn: 91446
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-2/+2
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Simplify run line.Eli Friedman2009-06-011-1/+1
| | | | llvm-svn: 72687
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Force triple for codegen tests which have expectations on outputDaniel Dunbar2009-02-031-1/+1
| | | | | | types. llvm-svn: 63669
* Replace old bitfield test.Daniel Dunbar2008-08-061-22/+64
| | | | | | | | | - Change hardcoded assembly instructions to a use of 'opt' (still waiting for someone to yell at me for this). - Add some cases to cover behavior fixed by previous commit. llvm-svn: 54413
* Make this test actually pass, in addition to the previous patch Eli Friedman2008-06-171-6/+6
| | | | | | which made it work. llvm-svn: 52382
* Fix the setup of CodeGen/bitfield.c test.Argyrios Kyrtzidis2008-06-101-3/+3
| | | | | | Due to the broken setup it was passing the test while it should have failed. llvm-svn: 52181
* Simplify bitfield codegen.Lauro Ramos Venancio2008-02-071-0/+11
| | | | | | Fix codegen of struct { short a[3]; int b:15; }. llvm-svn: 46859
* pull .ll and .bc writing out of the ASTConsumer destructors into some topChris Lattner2008-02-061-1/+1
| | | | | | | | | level code in clang. This is a cleanup, but does implement "-o" for -emit-llvm. One effect of this is that "clang foo.c -emit-llvm" will now emit into foo.ll instead of stdout. Use "clang foo.c -emit-llvm -o -" or "clang < foo.c -emit-llvm" to get the old behavior. llvm-svn: 46791
* Implement bitfield write.Lauro Ramos Venancio2008-01-221-0/+8
| | | | llvm-svn: 46258
* Implement bitfield read.Lauro Ramos Venancio2008-01-221-0/+13
llvm-svn: 46257
OpenPOWER on IntegriCloud