<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Interesting.  It's true very small sizes are most common for these vectors, but I wouldn't have expected the overhead to be that significant.  Perhaps try lowering all the fixed allocations to 4?<div><br><div><div>On Oct 29, 2010, at 2:10 PMPDT, Nick Lewycky wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">On 29 October 2010 10:29, John Thompson<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">Author: jtsoftware<br>Date: Fri Oct 29 12:29:13 2010<br>New Revision: 117667<br><br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project?rev=117667&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=117667&view=rev</a><br>Log:<br>Inline asm multiple alternative constraints development phase 2 - improved basic logic, added initial platform support.<br></blockquote><div><br></div><div>This change makes SelectionDAGBuilder::visitInlineAsm use up 30k of stack space, largely due to the switch from std::vector to SmallVector. Please fix!</div></span></blockquote></div><br></div></body></html>