aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2021-03-05 12:42:24 -0800
committerRiver Riddle <riddleriver@gmail.com>2021-03-05 12:47:05 -0800
commitf175ba4a54d3dccfb691138c0c47ca862f03c7db (patch)
tree65d1c289b424395be48ac5314ea273a1a846cb93 /clang/lib/CodeGen/CodeGenModule.h
parent29812a6195f9bb3501c5d323a87e1c1926797979 (diff)
downloadllvm-f175ba4a54d3dccfb691138c0c47ca862f03c7db.zip
llvm-f175ba4a54d3dccfb691138c0c47ca862f03c7db.tar.gz
llvm-f175ba4a54d3dccfb691138c0c47ca862f03c7db.tar.bz2
[mlir][AsmPrinter] Don't use string comparison when filtering list attributes
In .mlir modules with larges amounts of attributes, e.g. a function with a larger number of argument attributes, the string comparison filtering greatly affects compile time. This revision switches to using a SmallDenseSet in these situations, resulting in over a 10x speed up in some situations. Differential Revision: https://reviews.llvm.org/D97980
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions