diff options
author | Brandon Wu <brandon.wu@sifive.com> | 2023-12-18 15:52:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-18 15:52:14 +0800 |
commit | 111a2290650743b27f70f9b24618411e54493b59 (patch) | |
tree | 4f2c98441bb6892492487c273fc3ddeefa38f8f6 /clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp | |
parent | b83b28779ee56236aaf8827398f889334abbd28d (diff) | |
download | llvm-111a2290650743b27f70f9b24618411e54493b59.zip llvm-111a2290650743b27f70f9b24618411e54493b59.tar.gz llvm-111a2290650743b27f70f9b24618411e54493b59.tar.bz2 |
[RISCV] Implement multi-lib reuse rule for RISC-V bare-metal toolchain (#73765)
Extend the multi-lib re-use selection mechanism for RISC-V.
This funciton will try to re-use multi-lib if they are compatible.
Definition of compatible:
- ABI must be the same.
- multi-lib is a subset of current arch, e.g. multi-lib=march=rv32im
is a subset of march=rv32imc.
- march that contains atomic extension can't reuse multi-lib that
doesn't has atomic, vice versa. e.g. multi-lib=march=rv32im and
march=rv32ima are not compatible, because software and hardware
atomic operation can't work together correctly.
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp')
0 files changed, 0 insertions, 0 deletions