[all-commits] [llvm/llvm-project] becc74: [RISCV] Clang flags for controlling zilsd alignmen...

Sam Elliott via All-commits all-commits at lists.llvm.org
Thu Jun 4 15:34:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: becc74f032080821ddceb04106ef7f30223b4913
      https://github.com/llvm/llvm-project/commit/becc74f032080821ddceb04106ef7f30223b4913
  Author: Sam Elliott <aelliott at qti.qualcomm.com>
  Date:   2026-06-04 (Thu, 04 Jun 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Options/Options.td
    M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
    A clang/test/Driver/riscv-zilsd-word-align.c
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVSubtarget.h
    M llvm/test/CodeGen/RISCV/callee-saved-gprs.ll
    M llvm/test/CodeGen/RISCV/features-info.ll
    M llvm/test/CodeGen/RISCV/zdinx-spill.ll
    M llvm/test/CodeGen/RISCV/zilsd-ldst-opt-prera.mir
    M llvm/test/CodeGen/RISCV/zilsd-regalloc-hints.mir
    M llvm/test/CodeGen/RISCV/zilsd-spill.ll
    M llvm/test/CodeGen/RISCV/zilsd.ll

  Log Message:
  -----------
  [RISCV] Clang flags for controlling zilsd alignment (#181439)

Called `-mzilsd-word-align` and `-mzilsd-strict-align`. These interact
with scalar/strict alignment, in hopefully a reasonable way.

They cause errors on rv64, where zilsd is not available.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list