Hacker GitHub

← All repos

llvm/llvm-project

View on GitHub ↗ ★ 41,296 LLVM

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

319 mentions on Hacker News by 202 people: 30 stories, 289 comments · first 2019-03-20 · latest 2026-10-31

Mentions per year 319 mentions · busiest year 2025 (96)
20082026
  1. …and it _does_ usually treat intrinsics like malloc specially A quick google reveals https://github.com/llvm/llvm-project/issues/52930 , LLVM recognising uninitialised memory as 'undef', and needing to treat it as poisoned (IIRC propogation…
  2. …list of restrictions imposed on code in the construct. I summarized the two specific problems in https://github.com/llvm/llvm-project/blob/main/flang/docs/Do... .
    comment by pklausler · 2023-08-31 · in Fortran
  3. No, LLVM definitely still has big problems. https://github.com/llvm/llvm-project/issues/45725 is an example, the symptom in Rust is that you can write what is in effect a pointer comparison in which LLVM ends up claiming that two things…
  4. …get started. I think it could be made a bit more beginner friendly. I found the standalone example https://github.com/llvm/llvm-project/tree/main/mlir/examples... in the MLIR repo to be very useful, on the other hand.
  5. __builtin_unpredictable is gonna be fixed in LLVM/clang 17: https://github.com/llvm/llvm-project/commit/09515f2c20111628... (also, bugs.llvm.org is old; the more up-to-date (but still open) issue is https://github.com/llvm/llvm-project/issu…
    comment by dzaima · 2023-08-11 · in Fastest branchless binary search
  6. Here's a fancy trick from LLVM source: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Targ... #define A 0xf0 #define B 0xcc #define C 0xaa And then you can build immediate for VPTERNLOG operation by writing bitwise expression with…
  7. …codegen bugs. I'm still waiting for a longjmp bug in clang from over a decade ago to be fixed: https://github.com/llvm/llvm-project/issues/21557
    comment by cperciva · 2023-06-07 · in Is That a Compiler Bug?
  8. …reduction strategy in a more accurate way for trig functions in LLVM libc: - with FMA instructions: https://github.com/llvm/llvm-project/blob/main/libc/src/math/generic/range_reduction_fma.h - without FMA instructions:…
  9. …ttps://gcc.gnu.org/bugzilla/show_bug.cgi?id=98677 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105729 https://github.com/llvm/llvm-project/issues/59432 https://github.com/boostorg/dll/issues/30 https://github.com/boostorg/asio/commit/71964b…
  10. …with the receipts, in the form of LLVM IR that is lowered to machine code which makes no sense e.g. https://github.com/llvm/llvm-project/issues/45725
  11. …easier to optimize are its rules against dummy argument aliasing in most (but not all) cases. (See https://github.com/llvm/llvm-project/blob/main/flang/docs/Al... for the full story.)
  12. …). you can also (as of very recently) build mlir-opt plugins just like for clang: https://github.com/llvm/llvm-project/tree/main/mlir/examples...
  13. …happen because they are too slow. This is not completely accurate, as clangd does support this: https://github.com/llvm/llvm-project/blob/main/clang-tools-e... Getting a syntax tree from clangd is faster than you might think because it…
  14. …project: https://github.com/rutgers-apl/The-RLIBM-Project/blob/main/l... - The LLVM libc project: https://github.com/llvm/llvm-project/blob/main/libc/src/math...
    comment by lntue · 2023-03-31 · in Cosine Implementation in C
  15. …by CIRCT ( http://GitHub.com/llvm/circt ) which is built using MLIR (part of the LLVM project: https://GitHub.com/llvm/llvm-project )
    comment by georgelyon · 2023-03-26 · in Open-source high-performance RISC-V processor
  16. https://github.com/llvm/llvm-project/commits/main/llvm/lib/T... is a start ;) Not all of these have affiliations listed but I can tell you that contributors hail from SiFive, Rivos, Google, and various universities.
    comment by saagarjha · 2023-03-19 · in LLVM 16.0.0 Release
  17. Edit: More discussions: https://github.com/espressif/llvm-project/issues/4#issuecomm... Llvm is here: https://github.com/llvm/llvm-project/tree/release/16.x/llvm/... But I don’t know if there should be lld as well…
    comment by weitzj · 2023-03-19 · in LLVM 16.0.0 Release
  18. Xtensa support (esp32). Will be interesting how this will be for Rust and Zig support for esp32 https://github.com/llvm/llvm-project/tree/main/llvm/lib/Targ... https://www.phoronix.com/news/LLVM-Xtensa-Backend…
    comment by weitzj · 2023-03-18 · in LLVM 16.0.0 Release
  19. …ad lowering `-mllvm -funcspec-min-function-size=100`. [1] https://godbolt.org/z/jKo7K3jPd [2] https://github.com/llvm/llvm-project/blob/main/llvm/lib/Tran...
    comment by camel-cdr · 2023-03-18 · in LLVM 16.0.0 Release
  20. …up if the mangled name is >= 4096 characters, it just replaces the symbol with md5(mangled name): https://github.com/llvm/llvm-project/blob/d32f71a91a432db2d9...
    comment by cokernel_hacker · 2023-03-10 · in When Debug Symbols Get Large
  21. clang-tidy has an open issue to catch this. https://github.com/llvm/llvm-project/issues/56009
  22. …algorithms mentioned in the article). If you're interested in this area, you can look at the code, https://github.com/llvm/llvm-project/blob/main/libc/src/__su... and patches are always welcome :-) Initial commit,…
  23. …[0]: https://github.com/cplusplus/draft [1]: https://en.cppreference.com/w/cpp/links [2]: https://github.com/llvm/llvm-project/blob/llvmorg-15.0.7/lib... [3]: https://github.com/llvm/llvm-project/blob/8dfdcc7b7bf66834a7... [4]:…
  24. …I'm obviously very biased because I spent a loot of time with it). Here is the implementation: https://github.com/llvm/llvm-project/tree/main/clang-tools-e... I also wrote a... very long design document about how exactly this works, so if…
    comment by kirillbobyrev · 2023-02-06 · in The technology behind GitHub’s new code search
  25. I cloned git clone https://github.com/llvm/llvm-project When entering the directory my fancy prompt timed out [WARN] - (starship::utils): Executing command "git" timed out. But it seemed OKish after `git status` (disk cache?) time git…
  26. https://github.com/llvm/llvm-project/issues/37930 Here’s lattner telling some guy off. There’s none that I can think of that are super memeworthy or anything. It’s usually just insecure devs with a little Dunning Kruger cocktail in the…
    comment by adenozine · 2023-01-22 · in Official Warning: Zero3K
  27. Upstream support landed a couple of weeks ago: https://github.com/llvm/llvm-project/search?o=desc&p=1&q=Xte... Rust support landed before that, https://github.com/esp-rs This is all being done by Xtensa themselves, including the Rust.
  28. LLVM devs are apparently still working on adding proper i386 support https://github.com/llvm/llvm-project/issues/58470 but if that were to be addressed, we might even be able to use clang or rustc to build proper DPMI-based code for DOS.…
    comment by zozbot234 · 2022-12-24 · in DOS demo/game development template
  29. LLVM's implementation is here, more or less: https://github.com/llvm/llvm-project/blob/main/libc/src/stri...
    comment by loeg · 2022-12-20 · in Fast memcpy, a system design
  30. ▲ 3
    LLVM Bolt: Binary Optimisation and Layout Tool
    story by phab · 2022-12-17 · 0 comments
  31. AVR should be working these days https://github.com/llvm/llvm-project/tree/main/llvm/lib/Targ... Unless you mean some specific chips?
    comment by viraptor · 2022-12-14 · in Rust front-end merged in GCC trunk
  32. …7%. I feel like it has a lot of potential because it does try to take run-time into account. See: https://github.com/llvm/llvm-project/tree/main/bolt
  33. Yeah, I did a quick check in LLVM at some point to see what it does (query I relied on: https://github.com/llvm/llvm-project/search?q=getPredictable... ) and all the results seemed to be exclusively code motion or deciding how to lower a…
  34. …a long time. Is that still possible now? [1]: https://github.com/apple-oss-distributions/xnu [2]: https://github.com/llvm/llvm-project [3]: https://github.com/apple-oss-distributions/llvmCore [4]: https://github.com/apple-oss-distributions/…
  35. …some differences with the public llvm/clang/swift trees and that wouldn't be possible with gpl. [1] https://github.com/llvm/llvm-project/blob/main/llvm/LICENSE.... [2] https://github.com/llvm/llvm-project/blob/7555c589af006c9c4d... [3]…
  36. …accelerated SHA-3, available on production systems since 2019 with the Apple A13, judging by https://github.com/llvm/llvm-project/blob/c35ed40f4f1bd8afd7... Power10 also supports accelerated SHA-3: https://www.redbooks.ibm.com/redpapers/pdf…
    comment by wahern · 2022-10-20 · in SHA-3 Buffer Overflow
  37. ▲ 55
    Optimizing Clang: A Practical Example of Applying Bolt
    story by cpeterso · 2022-09-03 · 0 comments
  38. …implement than the paper makes out once you understand what is going on. It's <100 lines of code: https://github.com/llvm/llvm-project/blob/main/llvm/include/... (and this is the refactored version i made to support both forward and…
  39. I wonder whether this project is based on the work in our M68k backend: > https://github.com/llvm/llvm-project/tree/main/llvm/lib/Targ...
    comment by cbmuser · 2022-07-24 · in LLVM backend for m88k architecture
  40. ▲ 1
    LLVM Debuginfod Server
    story by marcodiego · 2022-07-11 · 0 comments
  41. Someone created a github issue for this: https://github.com/llvm/llvm-project/issues/56432
  42. …LLVM with Bazel now. That might give you a good idea of how to do it. The Bazel support code is in https://github.com/llvm/llvm-project/tree/main/utils/bazel
    comment by eklitzke · 2022-06-23 · in Incremental Builds for Haskell with Bazel
  43. …checker is still there — it just turned 10 years old, and is under 100 lines without comments. https://github.com/llvm/llvm-project/blob/main/clang/lib/Sta...
  44. …M1 is "RISC-y" by that definition (instruction set ARMv8.5A)[1]. And it's doing well. [1] Line 256 https://github.com/llvm/llvm-project/blob/main/llvm/include/...
    comment by mastazi · 2022-06-07 · in Dhall: A Gateway Drug to Haskell
  45. …a very general glob because one may not know beforehand their exact tag name conventions. [1] https://github.com/llvm/llvm-project [2] https://github.com/llvm/llvm-project/tags
    comment by AceJohnny2 · 2022-05-23 · in Proper use of Git tags
  46. ▲ 3
    LLVM Libc is implemented in C++
    story by eklitzke · 2022-05-14 · 0 comments
  47. You should report it to their GitHub repro: https://github.com/llvm/llvm-project
  48. …somewhere? Please do. You can open an issue (Bugzilla has been deprecated) on LLVM's github repo: https://github.com/llvm/llvm-project
  49. …millions LOC. Imagine if 1/10 was contributed to static/dynamic analyzers for C/C++ instead. [0] https://github.com/llvm/llvm-project/tree/5da7c040030c4af72d...
  50. Here is what Clang uses: https://github.com/llvm/llvm-project/blob/589b9df4e15131348b... parens: () squares: [] braces: {} basically a mixed of British and American English