Skip to main content
2 votes
1 answer
135 views

I have been following along with the LLVM Kaleidoscope ("My First Language Frontend With LLVM Tutorial") tutorial and have run into a strange bug in chapter 3. Those familiar with the ...
Mitch War's user avatar
Tooling
0 votes
3 replies
132 views

I’m building an experimental project called CPM (C Package Manager) focused on systems programming workflows, and I’d like architectural feedback before going further. Repository: https://github.com/...
Akash kumar P R's user avatar
1 vote
0 answers
96 views

Using KyleMayes/install-llvm-action@v2 with version: "16" on windows-latest in a GitHub Actions workflow. The action sets LLVM_PATH and reports "Using cached LLVM and Clang 16" ...
Silicon's user avatar
  • 49
1 vote
0 answers
47 views

I want to run only a few tests from the check-llvm-codegen-aarch64 target which has over 3000 tests. During development, only a handful of them are failing so I just want to quickly iterate on them ...
A. K.'s user avatar
  • 39.9k
3 votes
1 answer
96 views

I'm writing a program in C and trying to get a loop to vectorize using the Clang compiler. Following the documentation, I use the compiler flags CFLAGS += -fsave-optimization-record CFLAGS += -Rpass-...
mivkov's user avatar
  • 602
Tooling
0 votes
6 replies
180 views

I'm building a custom programming language and want performance close to C. Currently I'm deciding between: Generating C code and compiling with GCC/Clang Generating LLVM IR directly Using a JIT My ...
Kavyansh Sharma's user avatar
Advice
0 votes
0 replies
51 views

i'm working on an llvm<sup>[1]</sup> based language and i want it to have its own Syntax Highlighting, i don't know how to do that, and the documentation<sup>[2]</sup> for VSC ...
Aidan N's user avatar
-3 votes
2 answers
101 views

I want build rust 1.83 on macosx 10.13 , high sierra. I have built rust 1.74 with llvm@15. I want to upgrade rust to 1.83, it depend on llvm@18. I have buit llvm@18 While install rust with this ...
Mouse's user avatar
  • 135
3 votes
1 answer
28 views

I'm writing a Clang AST plugin (with Clang 18) to print out some metadata type things about the code and part of that is that it has to inspect class template specializations. I want to recover the as-...
Peter B's user avatar
  • 31
0 votes
1 answer
91 views

I'm trying to create a TargetMachine for my TTI (TargetTransformInfo) Wrapper to query instruction costs and vector costs, but the LLVM documentation is scarce on how to instantiate one after ...
Felipe Alves's user avatar
Best practices
0 votes
5 replies
122 views

Can someone help with a comparison between std::unordered_set and llvm::FoldingSet? I need a data structure to store a large number of objects and retrieve them. Retrievals will be far more than ...
Supriya Bhide's user avatar
2 votes
1 answer
148 views

I tried to cross-compile a simple windows app on Linux using llvm and ninja: #include <stdio.h> int main() { puts("Hello"); return 0; } So far I made this: winsroot = ./winsdk ...
Dimitrios Desyllas's user avatar
0 votes
1 answer
51 views

I'm building LLVM inside a container, using this Dockerfile: FROM ubuntu:22.04 AS builder RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ cmake \ ...
Micah LaSala's user avatar
0 votes
0 answers
36 views

I am trying to optimize a GEMM-like kernel using the MLIR Affine dialect. Inside my innermost loop (%arg5), I have a redundant affine.load and affine.store on %alloc. Despite running the -affine-...
Adwaid Suresh's user avatar
3 votes
1 answer
70 views

Clang has @available() (ObjC) and _builtin_available() (C/C++) functions which allow easy runtime testing of the OS version. At least they do on Mac aka Darwin. I'm aware that they revolve around weak ...
RJVB's user avatar
  • 860

15 30 50 per page
1
2 3 4 5
438