aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Debugify.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2020-10-28 16:46:38 -0700
committerRiver Riddle <riddleriver@gmail.com>2020-10-28 16:58:06 -0700
commitbf0440be91a6ea18fc8c1601f7ce6bcc8e6d2300 (patch)
treebddbbcb9a698ff81f59c25470a09c4fa1eeb945d /llvm/lib/Transforms/Utils/Debugify.cpp
parentf6a6f27edb3991154393976e9e8f7b88542d406c (diff)
downloadllvm-bf0440be91a6ea18fc8c1601f7ce6bcc8e6d2300.zip
llvm-bf0440be91a6ea18fc8c1601f7ce6bcc8e6d2300.tar.gz
llvm-bf0440be91a6ea18fc8c1601f7ce6bcc8e6d2300.tar.bz2
[mlir] Optimize the parsing of ElementsAttr hex strings
This revision optimizes the parsing of hex strings by using the checked variant of llvm::fromHex, and adding a specialized method to Token for extracting hex strings. This leads a large decrease in compile time when parsing large hex constants (one example: 2.6 seconds -> 370 miliseconds) Differential Revision: https://reviews.llvm.org/D90266
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions