diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-01-25 19:24:54 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-01-25 19:24:54 +0000 |
commit | dbebb52a2fccf13937bfc60d4f0ce949963b2940 (patch) | |
tree | d4b88e2de68d6900af707b3073bad0472a931ea7 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 1e8f163709aa6feb120a84a549827eb6dd0490d6 (diff) | |
download | llvm-dbebb52a2fccf13937bfc60d4f0ce949963b2940.zip llvm-dbebb52a2fccf13937bfc60d4f0ce949963b2940.tar.gz llvm-dbebb52a2fccf13937bfc60d4f0ce949963b2940.tar.bz2 |
Disable the use of TBAA when using AA in CodeGen
There are currently two issues, of which I currently know, that prevent TBAA
from being correctly usable in CodeGen:
1. Stack coloring does not update TBAA when merging allocas. This is easy
enough to fix, but is not the largest problem.
2. CGP inserts ptrtoint/inttoptr pairs when sinking address computations.
Because BasicAA does not handle inttoptr, we'll often miss basic type punning
idioms that we need to catch so we don't miscompile real-world code (like LLVM).
I don't yet have a small test case for this, but this fixes self hosting a
non-asserts build of LLVM on PPC64 when using -enable-aa-sched-mi and -misched=shuffle.
llvm-svn: 200093
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions