diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2024-11-30 22:10:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-30 22:10:31 +0900 |
commit | 39209724e66a20080bdebc609a051dfa0eb6b49f (patch) | |
tree | b384566fd5d69d055227f69e5a6e7d701f33ae90 /llvm/lib/CodeGen/SelectOptimize.cpp | |
parent | 04cc492ec3e2792e3fa790750ff678baa90bd436 (diff) | |
download | llvm-39209724e66a20080bdebc609a051dfa0eb6b49f.zip llvm-39209724e66a20080bdebc609a051dfa0eb6b49f.tar.gz llvm-39209724e66a20080bdebc609a051dfa0eb6b49f.tar.bz2 |
[YAML] Fix incorrect dash output in nested sequences (#116488)
Nested sequences could be defined but the YAML output was incorrect.
`Output::newLineCheck()` was not able to emit multiple dashes `- ` and
YAML parser sometimes didn't accept its output as the result.
This fixes for emitting corresponding dashes for consecutive
`inSeqFirstElement`, but suppresses emission to the top
`inSeqFirstElement`.
This also fixes for emitting flow elements onto nested sequences.
Diffstat (limited to 'llvm/lib/CodeGen/SelectOptimize.cpp')
0 files changed, 0 insertions, 0 deletions