History log of /external/clang/test/CodeGen/bitfield.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
96d6c4596587df59821da10270d2102da4a49b73 11-Oct-2013 Manman Ren <manman.ren@gmail.com> Turn struct-path aware TBAA on by default.

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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192497 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
1596e5b368ddbdc4b9c3ecab75115b179b6e5391 01-Oct-2013 Richard Smith <richard-llvm@metafoo.co.uk> Revert r191586 and r191695. They cause crashes when building with
-relaxed-aliasing.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191725 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
03928403af872d3b04d1d5d5a5c4be2d4d366af4 30-Sep-2013 Manman Ren <manman.ren@gmail.com> Turn struct-path aware TBAA on by default.

Use -no-struct-path-tbaa to turn it off.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191695 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
312c0b6a114929d14584d82e9159462021f79ea2 21-Aug-2013 Manman Ren <manman.ren@gmail.com> Don't use mangleCXXRTTIName in TBAA for C code.

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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
a206493b6c3808c26e94a72371aec73c1d8dfe75 21-Aug-2013 Manman Ren <manman.ren@gmail.com> Update testing case to use FileCheck instead of grep.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188929 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- 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
/external/clang/test/CodeGen/bitfield.c
4fcfde4d5c8f25e40720972a5543d538a0dcb220 08-Nov-2009 Daniel Dunbar <daniel@zuster.org> Eliminate &&s in tests.
- '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
/external/clang/test/CodeGen/bitfield.c
c13f9f037324d49bc8df880000a27d2b0e33d69c 01-Jun-2009 Eli Friedman <eli.friedman@gmail.com> Simplify run line.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72687 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6 24-Mar-2009 Daniel Dunbar <daniel@zuster.org> Rename clang to clang-cc.

Tests and drivers updated, still need to shuffle dirs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
0d7b091ffd100ca2cf51c686635a5d2bfbbad639 03-Feb-2009 Daniel Dunbar <daniel@zuster.org> Force triple for codegen tests which have expectations on output
types.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63669 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
c4aa96f8714678c49e144eeae31cb280151188c2 06-Aug-2008 Daniel Dunbar <daniel@zuster.org> Replace old bitfield test.

- 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
5395ef04e96e5db3e86b11d362a9566d779a590d 17-Jun-2008 Eli Friedman <eli.friedman@gmail.com> Make this test actually pass, in addition to the previous patch
which made it work.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52382 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
07665dae8b99e2965b5816f357934fbc9ccc6b5a 10-Jun-2008 Argyrios Kyrtzidis <akyrtzi@gmail.com> Fix the setup of CodeGen/bitfield.c test.
Due to the broken setup it was passing the test while it should have failed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
d957aa09333ff428f9675fb9f66dde632c2bcf5d 07-Feb-2008 Lauro Ramos Venancio <lauro.venancio@gmail.com> Simplify bitfield codegen.
Fix codegen of struct { short a[3]; int b:15; }.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46859 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
e66b65c3a3377d487104f6adc071d054b0d9d343 06-Feb-2008 Chris Lattner <sabre@nondot.org> pull .ll and .bc writing out of the ASTConsumer destructors into some top
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.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
a0c5d0eacede0f67ce46707263ddf4d8de0df706 22-Jan-2008 Lauro Ramos Venancio <lauro.venancio@gmail.com> Implement bitfield write.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46258 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c
3b8c22d93da1432b2d4cea779d14912645c93866 22-Jan-2008 Lauro Ramos Venancio <lauro.venancio@gmail.com> Implement bitfield read.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46257 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/bitfield.c