[llvm] [SystemZ][z/OS] Emit alignment in HLASM syntax (PR #222121)
Kai Nacke via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 9 07:15:15 PDT 2026
================
@@ -3,12 +3,12 @@
; RUN: llc < %s -mtriple=s390x-ibm-zos -mcpu=z10 | FileCheck %s
define i8 @call_char(){
-; CHECK-LABEL: call_char DS 0H
+; CHECK-LABEL: call_char DS 0B
----------------
redstar wrote:
I found no good way to preserve this. The `flushPendingAlignment()` logic was a try to see if it can help, but there is no alignment emitted before the label. All code labels (and most of the other labels) are 2-byte aligned, but for that I would need to keep a running counter of the instruction / data size.
https://github.com/llvm/llvm-project/pull/222121
More information about the llvm-commits
mailing list