aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2020-04-26 21:28:22 -0700
committerRiver Riddle <riddleriver@gmail.com>2020-04-26 21:34:01 -0700
commit4dfd1b5fcb7316d5e8393183dd303352ca65d4ac (patch)
treeeafa4567b331163cdaf005e42c99eac29ee0dec5 /clang/lib/Frontend/CompilerInvocation.cpp
parent8da0f85ea56f31a600b0ebcfa83e5ef300cfaac9 (diff)
downloadllvm-4dfd1b5fcb7316d5e8393183dd303352ca65d4ac.zip
llvm-4dfd1b5fcb7316d5e8393183dd303352ca65d4ac.tar.gz
llvm-4dfd1b5fcb7316d5e8393183dd303352ca65d4ac.tar.bz2
[mlir] Optimize operand storage such that all operations can have resizable operand lists
This revision refactors the structure of the operand storage such that there is no additional memory cost for resizable operand lists until it is required. This is done by using two different internal representations for the operand storage: * One using trailing operands * One using a dynamically allocated std::vector<OpOperand> This allows for removing the resizable operand list bit, and will free up APIs from needing to workaround non-resizable operand lists. Differential Revision: https://reviews.llvm.org/D78875
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions