llvm-project/llvm/test/Transforms/LowerMatrixIntrinsics
Dmitry Polukhin 9e7fddbd36 [yaml][clang-tidy] Fix multiline YAML serialization
Summary:
New line duplication logic introduced in https://reviews.llvm.org/D63482
has two issues: (1) there is no logic that removes duplicate newlines
when clang-apply-replacment reads YAML and (2) in general such logic
should be applied to all strings and should happen on string
serialization level instead in YAML parser.

This diff changes multiline strings quotation from single quote `'` to
double `"`. It solves problems with internal newlines because now they are
escaped. Also double quotation solves the problem with leading whitespace after
newline. In case of single quotation YAML parsers should remove leading
whitespace according to specification. In case of double quotation these
leading are internal space and they are preserved. There is no way to
instruct YAML parsers to preserve leading whitespaces after newline so
double quotation is the only viable option that solves all problems at
once.

Test Plan: check-all

Reviewers: gribozavr, mgehre, yvvan

Subscribers: xazax.hun, hiraditya, cfe-commits, llvm-commits

Tags: #clang-tools-extra, #clang, #llvm

Differential Revision: https://reviews.llvm.org/D80301
2020-07-09 02:41:58 -07:00
..
bigger-expressions-double.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
const-gep.ll [Matrix] Use alignment info when lowering loads/stores. 2020-06-18 13:19:31 +01:00
load-align-volatile.ll [Matrix] Use alignment info when lowering loads/stores. 2020-06-18 13:19:31 +01:00
multiply-add-sub-double-row-major.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
multiply-double-contraction-fmf.ll [Matrix] Use fmuladd for matrix.multiply if allowed. 2019-12-23 14:49:14 +01:00
multiply-double-contraction.ll [Matrix] Use fmuladd for matrix.multiply if allowed. 2019-12-23 14:49:14 +01:00
multiply-double-row-major.ll [Matrix] Add option to use row-major matrix layout as default. 2020-04-06 10:00:56 +01:00
multiply-double.ll
multiply-float-contraction-fmf.ll [Matrix] Use fmuladd for matrix.multiply if allowed. 2019-12-23 14:49:14 +01:00
multiply-float-contraction.ll [Matrix] Use fmuladd for matrix.multiply if allowed. 2019-12-23 14:49:14 +01:00
multiply-float.ll
multiply-fused-multiple-blocks.ll [Matrix] Add align info to some more loads/stores (NFC). 2020-06-16 20:42:59 +01:00
multiply-fused-volatile.ll [Matrix] Preserve volatile when loading loads/stores. 2020-06-18 12:14:19 +01:00
multiply-fused.ll [Matrix] Specify missing alignment in tests (NFC). 2020-06-16 15:37:35 +01:00
multiply-i32-row-major.ll [Matrix] Add option to use row-major matrix layout as default. 2020-04-06 10:00:56 +01:00
multiply-i32.ll
propagate-backward.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
propagate-backwards-unsupported.ll [Matrix] Implement back-propagation of shape information. 2020-01-09 09:48:07 +00:00
propagate-forward.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
propagate-mixed-users.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
propagate-multiple-iterations.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
remarks-inlining.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
remarks-shared-subtrees.ll [yaml][clang-tidy] Fix multiline YAML serialization 2020-07-09 02:41:58 -07:00
remarks.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
store-align-volatile.ll [Matrix] Use alignment info when lowering loads/stores. 2020-06-18 13:19:31 +01:00
strided-load-double.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
strided-load-float.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
strided-load-i32.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
strided-store-double.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
strided-store-float.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
strided-store-i32.ll [Matrix] Update load/store intrinsics. 2020-06-18 09:44:52 +01:00
transpose-double-row-major.ll [llvm] [MatrixIntrinsics] Add row-major support for llvm.matrix.transpose 2020-05-28 12:13:32 -07:00
transpose-double.ll
transpose-float-row-major.ll [llvm] [MatrixIntrinsics] Add row-major support for llvm.matrix.transpose 2020-05-28 12:13:32 -07:00
transpose-float.ll
transpose-i32-row-major.ll [llvm] [MatrixIntrinsics] Add row-major support for llvm.matrix.transpose 2020-05-28 12:13:32 -07:00
transpose-i32.ll