diff options
author | Garvit Gupta <quic_garvgupt@quicinc.com> | 2025-06-29 23:47:21 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-29 23:47:21 +0530 |
commit | 37ffe896a5cd8ebf8e71497580d948fc94a2d526 (patch) | |
tree | d553614a62ce74a87e16ab7428a556e078bc0f96 /mlir/lib/Transforms/LoopInvariantCodeMotion.cpp | |
parent | 5fe40b9df3b95d49277b43ea1348d7ff61caeeac (diff) | |
download | llvm-37ffe896a5cd8ebf8e71497580d948fc94a2d526.zip llvm-37ffe896a5cd8ebf8e71497580d948fc94a2d526.tar.gz llvm-37ffe896a5cd8ebf8e71497580d948fc94a2d526.tar.bz2 |
Reland [Driver] Add support for GCC installation detection in Baremetal toolchain (#145390)
This patch introduces enhancements to the Baremetal toolchain to support
GCC toolchain detection.
- If the --gcc-install-dir or --gcc-toolchain options are provided and
point to valid paths, the sysroot is derived from those locations.
- If not, the logic falls back to the existing sysroot inference
mechanism already present in the Baremetal toolchain.
- Support for adding include paths for the libstdc++ library has also
been added.
Additionally, the restriction to always use the integrated assembler has
been removed. With a valid GCC installation, the GNU assembler can now
be used as well.
This patch currently updates and adds tests for the ARM target only.
RISC-V-specific tests will be introduced in a later patch, once the
RISCVToolChain is fully merged into the Baremetal toolchain. At this
stage, there is no way to test the RISC-V target within this PR.
RFC:
https://discourse.llvm.org/t/merging-riscvtoolchain-and-baremetal-toolchains/75524
Diffstat (limited to 'mlir/lib/Transforms/LoopInvariantCodeMotion.cpp')
0 files changed, 0 insertions, 0 deletions