[llvm-branch-commits] [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
Fri May 17 13:51:06 PDT 2024


topperc wrote:

> @topperc (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

`-Xclang -target-feature -Xclang +unaligned-scalar-mem` can be used to enable unaligned scalar memory accesses for CPUs that do not support unaligned vector accesses. `-mno-strict-align` will enable unaligned scalar and vector memory accesses.

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


More information about the llvm-branch-commits mailing list