summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2013-06-17 17:18:51 +0000
committerSerge Pavlov <sepavloff@gmail.com>2013-06-17 17:18:51 +0000
commitf7c1a2152ab6bb6be3ba5ab8558734afeeab91a7 (patch)
treef442713a6d22849e5f4f904fce5ad20f23b496c2 /llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
parent69817016cf79ba0dd171f89e7aae76bba81820a4 (diff)
downloadbcm5719-llvm-f7c1a2152ab6bb6be3ba5ab8558734afeeab91a7.tar.gz
bcm5719-llvm-f7c1a2152ab6bb6be3ba5ab8558734afeeab91a7.zip
Clean up empty struct/union recognition.
Make use of getTypeSizeInChars to detect structs/unions of zero size. It allows more accurate detection of types of zero size. It however has a side effect - sequence of used types may change, that is why the test 'override-layout' was modified. llvm-svn: 184088
Diffstat (limited to 'llvm/lib/Transforms/IPO/PassManagerBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud