[LowerTypeTests] Use the TrailingObjects infrastructure for trailing objects.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 7 Dec 2016 12:31:45 +0000 (12:31 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 7 Dec 2016 12:31:45 +0000 (12:31 +0000)
commit926ab5b00b92c47c4a8f5f676bf0012a7c72524a
tree7fa4c0aa327a76d75cf207320a9ebec0e4951bae
parentae5780104f1a784f5dffc6058125f6c686248ae9
[LowerTypeTests] Use the TrailingObjects infrastructure for trailing objects.

Also avoid allocating ~3x as much memory as needed.

llvm-svn: 288904
llvm/lib/Transforms/IPO/LowerTypeTests.cpp