summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-01-10 22:32:14 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-01-10 22:32:14 +0000
commit20f1dd5fafbbb3f5245b6866b6d4f4ddd9107026 (patch)
treecd2045e8d0171a8aaa4ac4f19166ce5d70c10384 /clang/lib/CodeGen/CGExprAgg.cpp
parentda46832e42008ba4ec01d1e49d119d02f1a2d74d (diff)
downloadbcm5719-llvm-20f1dd5fafbbb3f5245b6866b6d4f4ddd9107026.tar.gz
bcm5719-llvm-20f1dd5fafbbb3f5245b6866b6d4f4ddd9107026.zip
Consider unknown alignment caused by OptimizeThumb2Instructions().
This function runs after all constant islands have been placed, and may shrink some instructions to their 2-byte forms. This can actually cause some constant pool entries to move out of range because of growing alignment padding. Treat instructions that may be shrunk the same as inline asm - they erode the known alignment bits. Also reinstate an old assertion in verify(). It is correct now that basic block offsets include alignments. Add a single large test case that will hopefully exercise many parts of the constant island pass. <rdar://problem/10670199> llvm-svn: 147885
Diffstat (limited to 'clang/lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud