diff options
author | Yangyu Chen <cyy@cyyself.name> | 2024-10-14 16:23:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 16:23:01 +0800 |
commit | 7fc3491c045bf6acb9c904a5da95bbac66ad487f (patch) | |
tree | 45e3c556334db8063fe95a8aa421e74c05621ca1 /clang/lib/CodeGen | |
parent | d4ea08687f2de1a5e0b70f37f522dcb798f650fe (diff) | |
download | llvm-7fc3491c045bf6acb9c904a5da95bbac66ad487f.zip llvm-7fc3491c045bf6acb9c904a5da95bbac66ad487f.tar.gz llvm-7fc3491c045bf6acb9c904a5da95bbac66ad487f.tar.bz2 |
[compiler-rt][RISCV] Use u64 data type for marchid and mimpid (#112163)
Base on https://github.com/riscv-non-isa/riscv-c-api-doc/pull/91 , the
marchid and mimpid are MXLEN bits wide, and kernel returned them as u64
data type. So we should use u64 data type for marchid and mimpid in
__riscv_cpu_model struct here.
Signed-off-by: Yangyu Chen <cyy@cyyself.name>
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions