[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:04:07 PDT 2026
================
@@ -310,30 +281,77 @@ void SystemZHLASMAsmStreamer::EmitComment() {
CommentToEmit.clear();
}
+void SystemZHLASMAsmStreamer::flushPendingAlignment() {
----------------
redstar wrote:
I agree with that this is a potential source of errors.
The effect is, as you pointed out, that there would be 2 `DS` statements, one for the alignment and one for the label. This is not the idiomatic HLASM way, but there are no other side effects (as far as I am aware of).
https://github.com/llvm/llvm-project/pull/222121
More information about the llvm-commits
mailing list