[clang] [clang-tools-extra] [RISCV] Clang flags for controlling zilsd alignment (PR #181439)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 19 08:00:23 PST 2026


topperc wrote:

> > > Are we sure we don't want to bikeshed the names a bit more?
> > 
> > 
> > I'll try
> > Since we have the number in there should we have -mzilsd-8byte-align instead of -no-zilsd-4byte-align.
> > Alternatives -mzilsd-word-align and -mno-zilsd-word-align or -mzilsd-dword-align
> > -mzilsd-partial-align
> 
> I'm leaning towards `-mzilsd-word-align` and `-mzilsd-strict-align`, because i don't like "dword", and the disable option ends up reflecting `-m<kind>-strict-align`.

Those names sound good to me.

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


More information about the cfe-commits mailing list