[swift-dev] SIL's TrailingOperandsList versus llvm::TrailingObjects

Joe Groff jgroff at apple.com
Mon Dec 18 14:58:52 CST 2017



> On Dec 17, 2017, at 6:52 PM, David Zarzycki via swift-dev <swift-dev at swift.org> wrote:
> 
> Hello SIL exports,
> 
> Why do some SILNodes use a custom TrailingOperandsList class and other SILNodes use LLVM’s TrailingObjects class? Is this just historical? It seems like the LLVM design is more flushed out and less error prone. What am I missing?

It's just historical—IIRC, TrailingOperandsList predates TrailingObjects.

-Joe


More information about the swift-dev mailing list