mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 06:31:50 +08:00
The `Operator` class keeps an `arguments` field, which contains pointers to `operands` and `attributes` elements. Thus it must be populated after `operands` and `attributes` are finalized so to have stable pointers. SmallVector may re-allocate when still having new elements added, which will invalidate pointers. PiperOrigin-RevId: 280466896
11 KiB
11 KiB