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/may-alias.c
|
feba9f2bdc5711894e452dfc67c9679482fbf897 |
|
08-Oct-2013 |
Manman Ren <manman.ren@gmail.com> |
TBAA: use the same format for scalar TBAA and struct-path aware TBAA. An updated version of r191586 with bug fix. Struct-path aware TBAA generates tags to specify the access path, while scalar TBAA only generates tags to scalar types. We should not generate a TBAA tag with null being the first field. When a TBAA type node is null, the tag should be null too. Make sure we don't decorate an instruction with a null TBAA tag. Added a testing case for the bug reported by Richard with -relaxed-aliasing and -fsanitizer=thread. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192145 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/may-alias.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/may-alias.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/may-alias.c
|
8a06d8fdefce6b4ed4438bb80f60cdd2e979a94f |
|
28-Sep-2013 |
Manman Ren <manman.ren@gmail.com> |
TBAA: use the same format for scalar TBAA and struct-path aware TBAA. Struct-path aware TBAA generates tags to specify the access path, while scalar TBAA only generates tags to scalar types. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191586 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/may-alias.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/may-alias.c
|
eb54d423d2e550324446c9d15fa2b2a92843cab5 |
|
14-Jul-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Make these tests more robust against IRgen choosing to emit more named metadata. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/may-alias.c
|
975d83c291821de340eef3c3498104172b375f79 |
|
27-Apr-2013 |
Manman Ren <mren@apple.com> |
Struct-path aware TBAA: fix handling of may_alias attribute. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180656 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/may-alias.c
|
2d7cb069fe101da3971a07900ff583380bcac184 |
|
15-Apr-2012 |
Duncan Sands <baldrick@free.fr> |
Use MDBuilder to help with metadata creation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154767 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/may-alias.c
|
bc7fbf0d37b286b37d96b033dfaaabf9c729bca8 |
|
26-Feb-2011 |
John McCall <rjmccall@apple.com> |
Pretty up the emission of field l-values and use volatile and TBAA when loading references as part of that. Use 'char' TBAA when accessing (immediate!) fields of a may_alias struct; fixes PR9307. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126540 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/may-alias.c
|
54eeba75d3914e457204a159a7888fc19e50a6dc |
|
14-Dec-2010 |
Dan Gohman <gohman@apple.com> |
Generalize this test to work without instruction names. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121742 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/may-alias.c
|
2ea7e73361c11f061e00caa8d9e71e84e6dd8554 |
|
14-Dec-2010 |
Dan Gohman <gohman@apple.com> |
Implement CodeGen support for the may_alias attribute. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121734 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/may-alias.c
|