[llvm-branch-commits] [clang] [llvm] release/18.x: [RISCV] Re-separate unaligned scalar and vector memory features in the backend. (PR #92143)

Craig Topper via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu May 16 09:11:11 PDT 2024


topperc wrote:

> I'm not strongly opposed to this or anything, but it feels questionable to be doing a backport to change the target-feature syntax. My understand is that these are purely internal names. This isn't a documented public interface.

It isn't documented, but some users were using `-Xclang -target-feature -Xclang -unaligned-scalar-mem` with clang 17 to get this functionality. -mno-strict-align does not exist in clang 17.

I'm going to experiment with reworking this patch to make `-Xclang -target-feature -Xclang -unaligned-scalar-mem` work and also leave `fast-unaligned-access` working to cover both scalar and vector.

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


More information about the llvm-branch-commits mailing list