[llvm] [MIRPrinter] Don't print line break when there is no instructions (PR #80147)
Quentin Dian via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 1 05:13:37 PST 2024
================
@@ -14,8 +14,8 @@ body: |
; GFX1150-NEXT: {{ $}}
; GFX1150-NEXT: [[COPY:%[0-9]+]]:sreg_32 = COPY $sgpr0
; GFX1150-NEXT: [[COPY1:%[0-9]+]]:sreg_32 = COPY $sgpr1
- ; GFX1150-NEXT: %2:sreg_32 = nofpexcept S_ADD_F32 [[COPY]], [[COPY1]], implicit $mode
- ; GFX1150-NEXT: $sgpr0 = COPY %2
+ ; GFX1150-NEXT: [[S_ADD_F32_:%[0-9]+]]:sreg_32 = nofpexcept S_ADD_F32 [[COPY]], [[COPY1]], implicit $mode
----------------
DianQK wrote:
I cleaned it up, and it looks much better now.
https://github.com/llvm/llvm-project/pull/80147
More information about the llvm-commits
mailing list