aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2021-11-03 18:22:49 +0000
committerRiver Riddle <riddleriver@gmail.com>2021-11-03 18:34:31 +0000
commita0391134462a7a41ab781065322b4caa50eb59d2 (patch)
treecba441f86c114800436d26f68ebbe00d6c5e6552 /clang/lib/Frontend/InitPreprocessor.cpp
parent3131714f8daca338492a7d5b189e4d63131bc808 (diff)
downloadllvm-a0391134462a7a41ab781065322b4caa50eb59d2.zip
llvm-a0391134462a7a41ab781065322b4caa50eb59d2.tar.gz
llvm-a0391134462a7a41ab781065322b4caa50eb59d2.tar.bz2
[mlir] Move the Operation OperandStorage to the first trailing object
The main benefits of this change are faster access to operands (no need to compute the offset, as it is now right after the operation), simpler code(no need to manage a lot of the "is the operand storage trailing" logic we had to before). The major downside to this though, is that operand holding operations now grow in size by 1 word (as no matter how we do this change, there will need to be some additional book keeping). Differential Revision: https://reviews.llvm.org/D111695
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions