llvm-project/clang/test
Daniel Dunbar 67aba79b74 IRgen: (Reapply 101222, with fixes) Move EmitStoreThroughBitfieldLValue to use new CGBitfieldInfo::AccessInfo decomposition, instead of computing the access policy itself.
- Sadly, this doesn't seem to give any .ll size win so far. It is possible to make this routine significantly smarter & avoid various shifting, masking, and zext/sext, but I'm not really convinced it is worth it. It is tricky, and this is really instcombine's job.

 - No intended functionality change; the test case is just to increase coverage & serves as a demo file, it worked before this commit.

The new fixes from r101222 are:

 1. The shift to the target position needs to occur after the value is extended to the correct size. This broke Clang bootstrap, among other things no doubt.

 2. Swap the order of arguments to OR, to get a tad more constant folding.

llvm-svn: 101339
2010-04-15 03:47:33 +00:00
..
ASTMerge Instead of counting totally diagnostics, split the count into a count 2010-04-07 18:47:42 +00:00
Analysis Fix CFG bug where bases of member expressions were not always evaluated in a lvalue context. Fixes <rdar://problem/7813989>. 2010-04-11 17:02:10 +00:00
CXX Warn about non-aggregate classes with no user-declared constructors 2010-04-15 00:00:53 +00:00
CodeCompletion When code completion produces an overload set as its results (e.g., 2010-04-06 20:19:47 +00:00
CodeGen IRgen: (Reapply 101222, with fixes) Move EmitStoreThroughBitfieldLValue to use new CGBitfieldInfo::AccessInfo decomposition, instead of computing the access policy itself. 2010-04-15 03:47:33 +00:00
CodeGenCXX Add encoding of reference types like gcc does for objc methods and 2010-04-13 23:45:47 +00:00
CodeGenObjC Variation of objc_copyStruct API generation when 2010-04-13 18:32:24 +00:00
CodeGenObjCXX Add encoding of reference types like gcc does for objc methods and 2010-04-13 23:45:47 +00:00
Coverage Rename -dump-record-layouts to -fdump-record-layouts now that the option behaves like aa flag. 2010-04-10 19:09:13 +00:00
Driver Simplify test, in the hopes of making linux happy. 2010-04-11 01:10:44 +00:00
FixIt Thread a Scope pointer into BuildRecoveryCallExpr to help typo 2010-04-14 20:27:54 +00:00
Frontend Fix PR5982, a refacto in checking for '=' in a -D argument. 2010-01-10 00:46:21 +00:00
Headers Make sure we don't include mm_malloc.h in this test, it includes errno.h which 2010-03-26 20:17:23 +00:00
Index Unbreak test on windows. 2010-04-11 22:25:18 +00:00
Lexer At sabre's request, drop the FP bounds diagnostics down to warnings and file 2010-02-26 23:35:57 +00:00
Misc When diagnosing suspicious precedence or assignments, move the fix-it 2010-04-14 16:09:52 +00:00
PCH Improve diagnostics like "initializing <type> from an expression of 2010-04-09 17:53:29 +00:00
Parser improve altivec c++ support by adding casts, patch by 2010-04-14 20:35:39 +00:00
Preprocessor Improve line marker directive locations, patch by Jordy Rose 2010-04-14 04:28:50 +00:00
Rewriter make the rewriter add a #ifndef around the #define of __attribute__. 2010-04-13 17:33:56 +00:00
Sema When diagnosing suspicious precedence or assignments, move the fix-it 2010-04-14 16:09:52 +00:00
SemaCXX Warn about non-aggregate classes with no user-declared constructors 2010-04-15 00:00:53 +00:00
SemaObjC Fix a -pedantic spurious warning involving @dynamic. 2010-04-14 20:52:42 +00:00
SemaObjCXX Add another test case for r101029, which verifies that we now 2010-04-12 07:51:13 +00:00
SemaTemplate Always diagnose and complain about problems in 2010-04-14 23:11:21 +00:00
CMakeLists.txt Add test cases for r98003 and r98006. 2010-03-08 23:38:27 +00:00
Makefile Print the errors when a clang test fails instead of just listing the 2010-04-05 21:20:38 +00:00
TestRunner.sh Switch TestRunner.sh to just use 'lit'. 2009-09-20 22:00:23 +00:00
cxx-sections.data Update C++ section data and directory structure to reflect N2914 2009-06-30 16:45:27 +00:00
lit.cfg tests: Mangle '-vg' onto the end of the triple when running under valgrind, so 2010-03-20 21:13:08 +00:00
lit.site.cfg.in Rework site config for cmake to be generated at configure time, and only pass 2009-11-07 23:53:32 +00:00
make_test_dirs.pl Add the structure for a C++ test suite that mimics the structure of the C++ standard 2009-06-13 06:06:53 +00:00