commit | 9deafad7ab00c81c9869d50bfde2aa47bdaa6dd7 | [log] [tgz] |
---|---|---|
author | David Spickett <david.spickett@linaro.org> | Wed Feb 05 17:15:14 2025 +0000 |
committer | David Spickett <david.spickett@linaro.org> | Wed Feb 05 17:17:37 2025 +0000 |
tree | 1727f6e63d64b1983616174bc4306e284bcb2d91 | |
parent | 346077aaa6bef5652a72a2f3d9fc134ea8fc6a5b [diff] |
[Clang] Use x86 triple for offload-Xarch.c test This fixes an issue where your host triple is not compatible with the 64 bit ptx being the offload architecture. At least, that's my guess. This failed on our Arm 32 bit bot: https://lab.llvm.org/buildbot/#/builders/154/builds/11413/steps/5/logs/FAIL__Clang__offload-Xarch_c Crucially it outputted: clang: warning: argument unused during compilation: '-Xarch_nvptx64 -O3' [-Wunused-command-line-argument] Making the triple always something 64 bit means this will work everywhere. Fixes 455cedc805e7a42c6cfbe26a4ddd9e623cca6066 / https://github.com/llvm/llvm-project/pull/125421.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.