summaryrefslogtreecommitdiff
path: root/test/CodeGen/tbaa-class.cpp
Commit message (Collapse)AuthorAge
* Turn struct-path aware TBAA on by default.Manman Ren2013-10-11
| | | | | | | | | 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
* TBAA: use the same format for scalar TBAA and struct-path aware TBAA.Manman Ren2013-10-08
| | | | | | | | | | | | | | | | | 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
* Revert r191586 and r191695. They cause crashes when building withRichard Smith2013-10-01
| | | | | | | -relaxed-aliasing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191725 91177308-0d34-0410-b5e6-96231b3b80d8
* Turn struct-path aware TBAA on by default.Manman Ren2013-09-30
| | | | | | | 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
* TBAA: use the same format for scalar TBAA and struct-path aware TBAA.Manman Ren2013-09-27
| | | | | | | | 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
* Make these tests more robust against IRgen choosing to emit more named metadata.Richard Smith2013-07-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186279 91177308-0d34-0410-b5e6-96231b3b80d8
* Struct-path aware TBAA: enable struct-path aware TBAA for classes.Manman Ren2013-04-30
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180795 91177308-0d34-0410-b5e6-96231b3b80d8