diff options
author | Rahul Joshi <rjoshi@nvidia.com> | 2025-10-13 13:05:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-13 13:05:05 -0700 |
commit | fe00ab4c108d46b8ed092862f67534828f20300d (patch) | |
tree | 0d889fa39552b5e7a53bdf4ceabf76c8cc624196 /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | 7e690517bceea62a6b9c7e05622fb48bb6316efc (diff) | |
download | llvm-fe00ab4c108d46b8ed092862f67534828f20300d.zip llvm-fe00ab4c108d46b8ed092862f67534828f20300d.tar.gz llvm-fe00ab4c108d46b8ed092862f67534828f20300d.tar.bz2 |
[NFC][MIR] Fix extra whitespace in MIR printing (#162928)
Fix a whitespace regression in MIR printing that was introduced in
https://github.com/llvm/llvm-project/pull/137361.
The default value for `ListSeparator` is `", "`, so we don't need to
print an additional space in front of tokens for optional symbols and
other things printed after operands.
Note, the modified LIT test will fail at trunk without the fix,
demonstrating that the extra space before `, pre-instr-symbol <mcsymbol
>` on Line 63 exists currently and is fixed with this change.
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions