penguin42 · @penguin42
534 followers · 11118 posts · Server mastodon.org.uk

I'm playing with - trying to follow what it's doing in compiling OpenCL shaders. Now, I've taken the debug IR dump from the AMD driver and written that to a .ll, fed it into llvm's 'llc' program and thrown it --debug (after building my own llvm build). Now just a 36700 line debug file to look at 🙂

#llvm #mesa

Last updated 1 year ago

Felix Palmen 📯 · @zirias
66 followers · 263 posts · Server techhub.social

@uma @kaleb_haugen "does not have any kind of upstream code" is not true. Every system includes *some* software in its base that's pulled from some other party. E.g. has , , and in its base, to name just a few.

But then, these aren't just "packaged", they're pulled into the single source repository from which the system is built and care is taken they integrate "perfectly".

#bsd #freebsd #openzfs #heimdal #openssl #llvm

Last updated 1 year ago

Kevin Karhan :verified: · @kkarhan
1490 followers · 108400 posts · Server mstdn.social

@argv_minus_one @retronianne and even the are replaceable - and that is a good thing.

In fact if / support would be where it should be, I'd even ditch for OS/1337...

os1337.com/

#os1337 #gcc #llvm #clang #GNUtils

Last updated 1 year ago

Michał Górny · @mgorny
203 followers · 1086 posts · Server pol.social

Tak więc chciałem zrobić nowy, cotygodniowy snapshot dla , i okazało się, że znów posypało się na 32-bitowych architekturach (tym razem, jak się okazuje, tylko na GCC). Bisekcja przypisała winę następującej łatce:

reviews.llvm.org/D159115#46380

Najlepsze w tym wszystkich, że ta zmiana wylądowała zaraz po poprzednim snapshot'cie. A przyczyna? Oczywiście unikanie `stdint.h` za wszelką cenę, bo lepiej walnąć jakiś przypadkowy typ jak `unsigned long long` zamiast `uintptr_t`.

(podziękowania dla @thesamesam za sugestię użycia `uintptr_t`)

#gentoo #llvm

Last updated 1 year ago

Alex Holst · @holsta
272 followers · 2083 posts · Server helvede.net

Stand back. I am compiling 16.0.6 and I don't know how big this thing is going to get.

My laptop's CPU is 73C.

#llvm

Last updated 1 year ago

David Cantrell 🏏 · @DrHyde
175 followers · 1096 posts · Server fosstodon.org

@tommythorn does have a Z80 back-end?

#llvm

Last updated 1 year ago

Michał Górny · @mgorny
186 followers · 853 posts · Server pol.social

Myślicie, że jest wam dzisiaj gorąco?

Najpierw walczyłem z nowym segfaultem w 2 z Pythonem 3.12. Nie udało mi się zajść daleko, co najwyżej ustalić, że to .

github.com/pydantic/pydantic/i

Potem testowałem świeży snapshot — tylko po to, by odkryć, że testy znów padly na 32-bitowych platformach. Po bisect'cie, okazało się, że przyczyną była zmiana "NFCi" (niezamierzająca zmian funkcjonalnych) do logiki hashowania — wygląda na to, że LLVM drukuje teraz funkcje w kolejności zależnej od platformy.

reviews.llvm.org/D158217#46009

Na koniec walczyłem z segfaultem w testach . Najwyraźniej jest to regresja związana z betą 1.26.0, więc wypracowałem backtrace i zgłosiłem błąd.

github.com/numpy/numpy/issues/

#python #gentoo #numpy #trimesh #llvm #heisenbug #pydantic

Last updated 1 year ago

comex · @comex
2400 followers · 714 posts · Server mas.to

Compilers Mastodon, does anyone know of examples where major C compilers exploit UB of misaligned loads/stores to produce silent misbehavior?

That's excluding
- Generating instructions that trap if misaligned (e.g. x86 movdqa), because that's not silent.
- Exploiting code that does more than just making misaligned loads/stores, such as calling __builtin_assume_aligned.

(cc @regehr... hmm, who else should I cc. I wish Mastodon had search. )

#gcc #llvm #compilers

Last updated 1 year ago

Nicolas Fränkel · @frankel
855 followers · 1056 posts · Server mastodon.top
Michał Górny · @mgorny
168 followers · 714 posts · Server pol.social

Drodzy użytkownicy ,

Zbliżamy się do wydania 17.0.0. Wersje RC są już w ::gentoo, zamaskowane brakiem słów kluczowych. Będziemy wdzięczni za testowanie! W tym celu wykorzystać można poniższy fragment package.accept_keywords:

```
=dev-ml/llvm-ocaml-17.0.0_rc* **
=dev-python/lit-17.0.0_rc* **
=dev-util/lldb-17.0.0_rc* **
=dev-python/clang-python-17.0.0_rc* **
=sys-devel/clang-17.0.0_rc* **
=sys-devel/clang-common-17.0.0_rc* **
=sys-devel/clang-runtime-17.0.0_rc* **
=sys-devel/lld-17.0.0_rc* **
=sys-devel/llvm-17.0.0_rc* **
=sys-devel/llvm-common-17.0.0_rc* **
=sys-libs/compiler-rt-17.0.0_rc* **
=sys-libs/compiler-rt-sanitizers-17.0.0_rc* **
=sys-libs/libcxx-17.0.0_rc* **
=sys-libs/libcxxabi-17.0.0_rc* **
=sys-libs/libcxxrt-17.0.0_rc* **
=sys-libs/libomp-17.0.0_rc* **
=sys-libs/llvm-libunwind-17.0.0_rc* **
=dev-libs/libclc-17.0.0_rc* **
=dev-libs/mlir-17.0.0_rc* **

~sys-devel/llvmgold-17 **
~sys-devel/clang-toolchain-symlinks-17 **
~sys-devel/lld-toolchain-symlinks-17 **
~sys-devel/llvm-toolchain-symlinks-17 **
```

Wrzuciłem też pierwsze tygodniowe migawki 18.x (czyli głównej gąłęzi git). Dla tej wersji można użyć poniższego fragmentu:

```
=dev-ml/llvm-ocaml-18.0.0_pre* **
=dev-python/lit-18.0.0_pre* **
=dev-util/lldb-18.0.0_pre* **
=dev-python/clang-python-18.0.0_pre* **
=sys-devel/clang-18.0.0_pre* **
=sys-devel/clang-common-18.0.0_pre* **
=sys-devel/clang-runtime-18.0.0_pre* **
=sys-devel/lld-18.0.0_pre* **
=sys-devel/llvm-18.0.0_pre* **
=sys-devel/llvm-common-18.0.0_pre* **
=sys-libs/compiler-rt-18.0.0_pre* **
=sys-libs/compiler-rt-sanitizers-18.0.0_pre* **
=sys-libs/libcxx-18.0.0_pre* **
=sys-libs/libcxxabi-18.0.0_pre* **
=sys-libs/libcxxrt-18.0.0_pre* **
=sys-libs/libomp-18.0.0_pre* **
=sys-libs/llvm-libunwind-18.0.0_pre* **
=dev-libs/libclc-18.0.0_pre* **
=dev-libs/mlir-18.0.0_pre* **

~sys-devel/llvmgold-18 **
~sys-devel/clang-toolchain-symlinks-18 **
~sys-devel/lld-toolchain-symlinks-18 **
~sys-devel/llvm-toolchain-symlinks-18 **
```

#lldb #lld #clang #llvm #gentoo

Last updated 1 year ago

Tim Morgan · @seven1m
143 followers · 6 posts · Server ruby.social

Hello friends, I recorded my first video in like 8 months! In this one we add the start of an LLVM JIT for our statically-typed compiler. 🟥💎🤓

youtube.com/watch?v=ksj9m0-5n3

#ruby #compiler #video #jit #llvm

Last updated 1 year ago

Ivan Enderlin 🦀 · @hywan
1459 followers · 1673 posts · Server fosstodon.org

Optimizing Rust programs with PGO and BOLT using cargo-pgo, kobzol.github.io/rust/cargo/20.

Feedback-directed optimisations made easy with `cargo-pgo`! Neat.

#rustlang #compiler #performance #pgo #bolt #llvm

Last updated 1 year ago

VM (Vicky) Brasseur · @vmbrasseur
1681 followers · 2053 posts · Server social.vmbrasseur.com

Looking for a new gig?

How about Program Director at the Foundation?

Give it a look:

virtualinc.applicantpool.com/j

#llvm #fedihire #opensource #foss #boost

Last updated 1 year ago

Ramkumar Ramachandra · @artagnon
78 followers · 12 posts · Server mathstodon.xyz

The community is magic sometimes. After trying all kinds of things and hitting dead-ends, I posted the motivating example publicly. Upstream fixed it pretty easily! reviews.llvm.org/D156532

#llvm

Last updated 1 year ago

Nick Desaulniers · @llvm
301 followers · 18 posts · Server fosstodon.org
Nick Desaulniers · @llvm
301 followers · 16 posts · Server fosstodon.org

Copy hunting

tigerbeetle.com/blog/2023-07-2

Using IR to hunt for unexpected memcpys

#llvm

Last updated 1 year ago

Ramkumar Ramachandra · @artagnon
78 followers · 11 posts · Server mathstodon.xyz

Sometimes, I think reviewers take testing too far. Case in point: reviews.llvm.org/D156318

#llvm

Last updated 1 year ago

Felix LeClair (waiting on HR) · @fclc
479 followers · 1641 posts · Server mast.hpc.social

Big thanks to @tonymongkolsmai, @jcinPDX, @sri and other members of the Intel OneAPI Software team!

big +1 for ease of use with the new updates to the HPC toolkit, specifically the new wrappers for the based , and compilers


😊😊😊

#oneapi #mpi #llvm #c #cpp #fortran #hpc

Last updated 1 year ago

Felix LeClair (waiting on HR) · @fclc
479 followers · 1641 posts · Server mast.hpc.social

Big thanks to @tonymongkolsmai, @j_c_inPDX, @sramkrishna and other members of the Intel OneAPI Software team!

big +1 for ease of use with the new updates to the HPC toolkit, specifically the new wrappers for the based , and compilers

😊😊😊

#oneapi #mpi #llvm #c #cpp #fortran

Last updated 1 year ago

Andrew Tropin · @abcdw
699 followers · 1282 posts · Server fosstodon.org

A book on compilers. Free for personal use:

compilerbook.org

I would also like to share Compiling with Continuations, but it's not free available.

#book #books #compiler #compilers #llvm #gcc

Last updated 1 year ago