diff options
| author | Jie Fu <jiefu@tencent.com> | 2024-01-11 22:41:17 +0800 |
|---|---|---|
| committer | Jie Fu <jiefu@tencent.com> | 2024-01-11 22:41:17 +0800 |
| commit | 21133f1da4cde22b63c5f62df25d97e51a3cf4ea (patch) | |
| tree | c374ff34c26a44ecf2bdee12161c01072cae09f3 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | d1ecd12f00fbd7743ebb4fe36fc415eb80bbb1f4 (diff) | |
| download | llvm-21133f1da4cde22b63c5f62df25d97e51a3cf4ea.zip llvm-21133f1da4cde22b63c5f62df25d97e51a3cf4ea.tar.gz llvm-21133f1da4cde22b63c5f62df25d97e51a3cf4ea.tar.bz2 | |
[TOSA] Fix -Wdangling-gsl and -Wunused-variable in TosaToLinalg.cpp (NFC)
llvm-project/mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp:2376:9:
error: object backing the pointer will be destroyed at the end of the full-expression [-Werror,-Wdangling-gsl]
tensor::getMixedSizes(rewriter, loc, input_real);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
llvm-project/mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp:2366:10:
error: unused variable 'imag_el_ty' [-Werror,-Wunused-variable]
auto imag_el_ty = cast<FloatType>(
^
2 errors generated.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
