Stack allocate at most two ScalarAssign elements. Using the default number of inlined elements triggered a static assert in some setups (https://reviews.llvm.org/D102075).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
That seems fairly ad-hoc as a fix: what are the conditions where this is a problem more precisely?
Comment Actions
I was only able to repro on Windows debug. See here: https://reviews.llvm.org/D102075#2769791
Comment Actions
On some systems (windows debug) ScalarAssign is > 256 bytes. On Linux we are slightly below. For example, since the nested std::vector carries more debug info. In case the struct continuous to grow we probably want to switch to std::vector.