[llvm] [SystemZ][z/OS] Emit alignment in HLASM syntax (PR #222121)

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 06:59:35 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
----------------
uweigand wrote:

This is all a bit unfortunate, as labels in the code section *are* in fact 2-byte aligned ...   Not sure if there would be a way to preserve that fact.

https://github.com/llvm/llvm-project/pull/222121


More information about the llvm-commits mailing list