llvm-project
llvm-project copied to clipboard
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
Inclusion of the intrin.h header, inside the private project caused compilation error, which reason was that the __int64 variable types used inside the immintrin.h weren't recognised by clang compiler. Clang...
I am getting core dump when I try to compile ebpf code. The error message is below: ```console $ llc -march=bpf -filetype=obj -o dist/tracee.bpf.core.o ./dist/tracee.bpf.core.new.ll LLVM ERROR: Unsupported dynamic stack...
For llvm ir like this ``` target triple = "nvptx64-nvidia-cuda" ; Function Attrs: nounwind define void @foo(i64* nocapture readonly byval(i64) %0, i64* nocapture readonly byval(i64) %itop) local_unnamed_addr #0 { entry:...
| | | | --- | --- | | Bugzilla Link | [46434](https://llvm.org/bz46434) | | Version | trunk | | OS | Linux | | CC | @topperc,@shubhamnarlawar77 | ##...
As it currently exists, the `SeparateDefinitionBlocks` option only allows for no spacing (SDS_Never), or exactly one space (SDS_Always). The amount of space should be configurable, especially as some organizations require...
Since the switch to gtest sharding in the testsuite, I'm constantly seeing a `lit` failure that breaks the testsuite. The `ninja stage2-check-all` run ends with ```pytb PASS: SanitizerCommon-Unit :: ./Sanitizer-x86_64-Test/17/91...
For example, compiled with clang trunk with `-std=c++20` ([godbolt](https://gcc.godbolt.org/z/PsYofabMb)): ```C++ #include enum Enum { A, B, C }; template constexpr bool test(int) { return true; } template constexpr bool test(...)...
Given: ```c++ struct Foo { static constexpr auto (A::*f)() const = &A::start; }; static auto toFile = [](auto const& f) -> auto { auto p = f->getP(); return xp(p); };...
In [link-unlink.ll](https://github.com/llvm/llvm-project/blob/main/llvm/test/CodeGen/M68k/link-unlnk.ll), the position of the local variables completely deviate from where they should be on the stack. To name a few, take [line 20](https://github.com/llvm/llvm-project/blob/main/llvm/test/CodeGen/M68k/link-unlnk.ll#L20) for example, this assembly is...
On RISC-V, gdb is not always a suitable option to debug programs, especially for folks who use lldb plugins on other architectures. Without the working lldb, debugging code can be...