[all-commits] [llvm/llvm-project] 9b0751: [mlir][Parser][NFC] Remove several usages of getEn...
River Riddle via All-commits
all-commits at lists.llvm.org
Sat Feb 15 23:52:48 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9b07512fd3cd4541872dd2e96a697172f3f7a243
https://github.com/llvm/llvm-project/commit/9b07512fd3cd4541872dd2e96a697172f3f7a243
Author: River Riddle <riddleriver at gmail.com>
Date: 2020-02-15 (Sat, 15 Feb 2020)
Changed paths:
M mlir/lib/Parser/Parser.cpp
Log Message:
-----------
[mlir][Parser][NFC] Remove several usages of getEncodedSourceLocation
Summary: getEncodedSourceLocation can be very costly to compute, especially if the input line becomes very long. This revision inlines some of the verification of a few `getChecked` methods to avoid the materialization of an encoded source location.
Differential Revision: https://reviews.llvm.org/D74587
More information about the All-commits
mailing list