diff options
author | River Riddle <riddleriver@gmail.com> | 2020-02-15 23:48:59 -0800 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2020-02-15 23:52:23 -0800 |
commit | 9b07512fd3cd4541872dd2e96a697172f3f7a243 (patch) | |
tree | 7beeb43c1be93feef19da286e6fa0ee49e7e8042 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 857bf5da35af8e1f9425e1865dab5f5fce5e38f2 (diff) | |
download | llvm-9b07512fd3cd4541872dd2e96a697172f3f7a243.zip llvm-9b07512fd3cd4541872dd2e96a697172f3f7a243.tar.gz llvm-9b07512fd3cd4541872dd2e96a697172f3f7a243.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions