jperkin, to llvm
@jperkin@federate.me.uk avatar

So unfortunately 17 has hit , which means I need to turn off support for the full LLVM suite in on

We offered to provide build hosts and maintain support, but upstream weren't interested, and removed all of the code.

Given it was working absolutely fine, this is a real shame. Especially as I spent a significant chunk of time getting it working.

It'll now have to go back to depending on GCC's libstdc++, and I'll work on avoiding dependencies on clang where I can.

TehPenguin, to llvm
@TehPenguin@hachyderm.io avatar

Glad sanity prevailed with this one https://github.com/llvm/llvm-project/pull/90520

Just a reminder that loading dlls from the application directory is not a security vulnerability.

But restricting the search path to System32 for well know dlls is not a bad idea...

mre, to rust
@mre@mastodon.social avatar
grinn, to emacs
@grinn@emacs.ch avatar

I'm still hopeful clang-format-indent-mode will eventually be accepted into the LLVM project, but for now you can try it out as a separate package:

https://gitlab.com/grinn.amy/clang-format-indent

If you are using clang-format in any of your projects, this might be useful to apply complex .clang-format rules as you type rather than after-the-fact.

Here's the pull request:

https://github.com/llvm/llvm-project/pull/78904

clang-format-indent package usage demo.

TehPenguin, to rust
@TehPenguin@hachyderm.io avatar

It took me days to debug this, but I'm finally one step closer to supporting Arm64EC on : https://github.com/rust-lang/rust/pull/123467

Unfortunately there's one more fix needed in so it may take a little while longer yet...

bsletten, to technology
@bsletten@mastodon.social avatar

This is huge. I’ve been bullish on RISC-V from the beginning but this is happening even faster than I expected. Between IT Sovereignty and geopolitics involving access to global supply chains, hyperspecialization of algorithms to hw, etc., it’s about to get really interesting.*

We’re one generation from the tech hacking culture of cyberpunk fiction.

  • HW heterogeneity will be mediated by LLVM and WebAssembly.

#technology #riscv #yeswearecyberpunk #llvm #webassembly

https://www.tomshardware.com/pc-components/cpus/former-silicon-valley-vets-create-risc-v-microprocessor-that-can-run-cpu-gpu-and-npu-workloads-simultaneously

ctaylor, (edited ) to cpp
@ctaylor@mastodon.content.town avatar
calebjasik, to llvm
@calebjasik@mas.to avatar
llvm, to llvm
@llvm@fosstodon.org avatar
chimera_linux, to llvm
@chimera_linux@floss.social avatar

is this weekend already, and we're having two presentations this time:

the first one in the distributions room: https://fosdem.org/2024/schedule/event/fosdem-2024-2524-2023-in-chimera-linux/

but also, a related talk in the room is also happening: https://fosdem.org/2024/schedule/event/fosdem-2024-2555-building-a-linux-distro-with-llvm/

come check them out

llvm, to llvm
@llvm@fosstodon.org avatar

revng is a static binary translator. Given a input ELF binary for one of the supported architectures (currently i386, x86-64, MIPS, ARM, AArch64 and s390x) it will analyze it and emit an equivalent LLVM IR. To do so, revng employs the QEMU intermediate representation (a series of TCG instructions) and then translates them to IR.

https://github.com/revng/revng

shortridge, to llvm
@shortridge@hachyderm.io avatar

an LLVM to Excel spreadsheet compiler, truly what dreams are made of: https://belkadan.com/blog/2023/12/CellLVM/

it also reminded me of my investment banking days when I would crash Excel with iterative calculations (“brøether clippë may I have the lööps”)

ty for this gift to the world @jrose and P.S. I want to see the CSV alignment chart 👀

chandlerc, to llvm
@chandlerc@hachyderm.io avatar

Is there a good reason targeting doesn't seem to fold shifts into operands when it would require shifting in multiple operands?

I'm seeing lots of:

lsr xN, xN, #7  
and x?, x?, xN  
...  
and x?, x?, xN  

With no other uses of xN.

Is there a reason to prefer this over:

and x?, x?, xN, lsr #7  
...  
and x?, x?, xN, lsr #7  

While "duplicated", it seems like it would save an instruction at least in decode?

mattpd, to llvm
@mattpd@mastodon.social avatar

How single-iteration InstCombine improves LLVM compile time
https://developers.redhat.com/articles/2023/12/07/how-single-iteration-instcombine-improves-llvm-compile-time
by Nikita Popov

gregorni, to python
@gregorni@fosstodon.org avatar

Now who would've thought… And I get people asking what industry standard Python software there is that isn't related to AI…

mattpd, to llvm
@mattpd@mastodon.social avatar

2023 LLVM Developers' Meeting Trip Report by Henrich Lauko
https://xlauko.github.io/2023/11/10/llvm-dev-met.html

pitrh, to llvm
@pitrh@mastodon.social avatar
orhun, to rust
@orhun@fosstodon.org avatar

Here is how you can view the assembly of your Rust code! 😍

🦀 cargo-show-asm: displays the Assembly, LLVM-IR, MIR and WASM generated for Rust code.

⭐ GitHub: https://github.com/pacak/cargo-show-asm

🐧 Packaged for Arch Linux: https://archlinux.org/packages/extra/x86_64/cargo-show-asm/

video/mp4

rml, to badminton
@rml@functional.cafe avatar

Nora: an experimental implementation using (the megapass variant of the framework from )

https://github.com/pmatos/nora

justanhpcfella, to llvm

I just finished building + on my dev board! The entire process, from cloning the repo to building, linking, and installing, was all done natively on RISC-V!!

It took about 19 hours of work and 16 hours of having the puny quad-core in-order RISC-V CPU pinned at 100%, but the thing actually built successfully and is compiling and running programs. Insanely impressive stuff.

abcdw, to llvm
@abcdw@fosstodon.org avatar

I have half an hour trip to climbing gym and back 3 times a week. Not to waste this time I take my laptop with downloaded materials with me and watch courses.

Previously it was OCaml course, now it is Advanced Compilers course:
https://www.cs.cornell.edu/courses/cs6120/2023fa/self-guided/

CanLehmann, to VHDL
@CanLehmann@mastodon.social avatar

A nice side effect of the new state machine synthesis is that I can now generate nice graphs of the state machines.

Let's look at the blink example from before:

while (1) {
__output_led(0);
for (uint64_t it = 0; it < CLOCK_FREQ; it++)
clock();
__output_led(1);
for (uint64_t it = 0; it < CLOCK_FREQ; it++)
clock();
}

It's state machine has 3 states:

  • entry (0): Initial state
  • clock (1): LED off state
  • clock (2): LED on state

CanLehmann, to VHDL
@CanLehmann@mastodon.social avatar

So I started building a high level synthesis tool that compiles LLVM IR to verilog...

It allows you to precisely control timing behavior by inserting clock() statements in your code. Here is a simple blink example:

while (1) {
__output_led(0);
for (uint64_t it = 0; it < CLOCK_FREQ; it++)
clock();
__output_led(1);
for (uint64_t it = 0; it < CLOCK_FREQ; it++)
clock();
}

The tool now automatically generates a state machine for this code.

jplehr, to llvm

We just released 18.0-0 -- our based compiler for .

Go get your copy at https://github.com/ROCm-Developer-Tools/aomp/releases/tag/rel_18.0-0

vmbrasseur, to llvm
@vmbrasseur@social.vmbrasseur.com avatar

Looking for a new gig?

How about Program Director at the Foundation?

Give it a look:

https://virtualinc.applicantpool.com/jobs/999845.html

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • rosin
  • InstantRegret
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • GTA5RPClips
  • slotface
  • Durango
  • khanakhh
  • kavyap
  • megavids
  • everett
  • vwfavf
  • Leos
  • osvaldo12
  • cisconetworking
  • cubers
  • modclub
  • ngwrru68w68
  • tacticalgear
  • provamag3
  • normalnudes
  • tester
  • JUstTest
  • All magazines