aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2020-04-26 21:28:11 -0700
committerRiver Riddle <riddleriver@gmail.com>2020-04-26 21:34:01 -0700
commit8da0f85ea56f31a600b0ebcfa83e5ef300cfaac9 (patch)
tree73640060f8f7e84a77eb5bad26df37adc6782128 /clang/lib/Frontend/CompilerInvocation.cpp
parent8296bcf76f26064fef7ca68a53f7fdfaa9156613 (diff)
downloadllvm-8da0f85ea56f31a600b0ebcfa83e5ef300cfaac9.zip
llvm-8da0f85ea56f31a600b0ebcfa83e5ef300cfaac9.tar.gz
llvm-8da0f85ea56f31a600b0ebcfa83e5ef300cfaac9.tar.bz2
[mlir] Optimize the allocation of resizable operand lists
This revision optimizes resizable operand lists by allocating them in the same location as the trailing operands. This has numerous benefits: * If the operation has at least one operand at construction time, there is 0 additional memory overhead to the resizable storage. * There is less pointer arithmetic necessary as the resizable storage is now only used when the operands are dynamically allocated. Differential Revision: https://reviews.llvm.org/D78854
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions