[PATCH] D126085: [RISCV] Add a subtarget feature to enable unaligned scalar loads and stores
Baoshan Pang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 3 11:22:57 PDT 2022
BaoshanPang added a comment.
How to enable this feature through clang? I tried this:
$ ./bin/clang -S t.c -O2 -mllvm -mattr=+unaligned-scalar-mem
But get:
clang (LLVM option parsing): Unknown command line argument '-mattr=+unaligned-scalar-mem'. Try: 'clang (LLVM option parsing) --help'
clang (LLVM option parsing): Did you mean '--mv67t=+unaligned-scalar-mem'?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126085/new/
https://reviews.llvm.org/D126085
More information about the llvm-commits
mailing list