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. …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
  2. 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
  3. 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
  4. 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
  5. …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
  6. …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
  7. clang-tidy has an open issue to catch this. https://github.com/llvm/llvm-project/issues/56009
  8. …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,…
  9. …[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]:…
  10. …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
  11. 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…
  12. 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
  13. 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.
  14. 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
  15. 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
  16. 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
  17. …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
  18. 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…
  19. …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/…
  20. …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]…
  21. …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
  22. …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…
  23. 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
  24. Someone created a github issue for this: https://github.com/llvm/llvm-project/issues/56432
  25. …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
  26. …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...
  27. …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
  28. …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
  29. You should report it to their GitHub repro: https://github.com/llvm/llvm-project
  30. …somewhere? Please do. You can open an issue (Bugzilla has been deprecated) on LLVM's github repo: https://github.com/llvm/llvm-project
  31. …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...
  32. Here is what Clang uses: https://github.com/llvm/llvm-project/blob/589b9df4e15131348b... parens: () squares: [] braces: {} basically a mixed of British and American English
  33. …bug reports are opened and left to rot for years Yup. This is common for many project, like llvm: https://github.com/llvm/llvm-project/issues
    comment by 1over137 · 2022-04-17 · in FreeBSD Handbook Improvement Survey
  34. …annotation of ownership at struct level (hence the check only applies to new structs): An example: https://github.com/llvm/llvm-project/blob/main/clang/test/Se... More details can be found at https://herbsutter.com/2018/09/20/lifetime-profi…
    comment by htfy96 · 2022-04-02 · in Lifetime Annotations for C++
  35. …real improvement over C++14 and good enough for sum types in production C++. See struct visitors in https://github.com/llvm/llvm-project/blob/main/flang/include...
    comment by pklausler · 2022-03-30 · in Algebraic Data Types in Haskell
  36. Googler, opinions are my own. Btw, the Lanai target in LLVM can be found here: https://github.com/llvm/llvm-project/tree/main/llvm/lib/Targ... . Latest commit is only 24 days ago, so it looks to still be active. Though I'm not sure how…
  37. …way to handle the case insensitivity is by making use of a virtual file system (VFS) overlay. https://github.com/llvm/llvm-project/blob/4976d1fe58f89169ef... demonstrates how that works. (There's no linker equivalent that I'm aware of, so…
    comment by smeenai · 2022-02-28 · in Using Zig as cross-platform C toolchain
  38. …you’ll discover that automatic refactoring of extremely large code bases is within reach. https://github.com/llvm/llvm-project/tree/main/clang-tools-e... The only question is whether you would want to spend the staff hours working on a…
    comment by klodolph · 2022-02-25 · in Moving the Linux Kernel to Modern C
  39. …https://github.com/tensorflow/tensorflow/pull/51578 https://github.com/mono/mono/pull/21197 https://github.com/llvm/llvm-project/pull/335
  40. …https://github.com/tensorflow/tensorflow/pull/51578 https://github.com/mono/mono/pull/21197 https://github.com/llvm/llvm-project/pull/335 https://github.com/PyCQA/baron/pull/156 https://github.com/dagwieers/pygments/pull/1…
  41. …use Scudo, which is the allocator that lives in compiler-rt. Edited to include the link to Scudo: https://github.com/llvm/llvm-project/tree/main/compiler-rt/l...
  42. …functions. Seems like they do get some nice wins from the C++ language, without needing (e.g.) STL: https://github.com/llvm/llvm-project/blob/main/libc/src/__su...
    comment by silverlyra · 2021-12-08 · in A proposal to start “llvm-libc” (2020)
  43. https://github.com/llvm/llvm-project/commits/main/libc shows there were commits recently.
  44. It’s Apache licensed with LLVM exceptions ( https://github.com/llvm/llvm-project/blob/main/libc/LICENSE.... ) LibC++ is licensed that way, too ( https://github.com/llvm/llvm-project/blob/main/libcxx/LICENS... )
  45. The license is here: < https://github.com/llvm/llvm-project/blob/main/libc/LICENSE.... >. It's Apache v2 with a compiler exception--i.e., the compiler linking bits of itself into you doesn't count for license purposes.
    comment by jcranmer · 2021-12-07 · in A proposal to start “llvm-libc” (2020)
  46. https://github.com/llvm/llvm-project/commits/main/llvm/docs/... Merged in 2019-08, and hasn't been edited since. As linked elsewhere in the thread, https://github.com/llvm/llvm-project/tree/main/libc indicates it's alive and well.
    comment by Arnavion · 2021-12-07 · in A proposal to start “llvm-libc” (2020)
  47. …match. Then the trailing `-component` is stripped, and `clang++` matches. It works by chance... See https://github.com/llvm/llvm-project/blob/c22b110612600b0d0a... and https://github.com/llvm/llvm-project/blob/c22b110612600b0d0a... TIL: if…
  48. …common case. I like the new LLVM memcpy that is just plain C++, and easy to read and understand. https://github.com/llvm/llvm-project/blob/main/libc/src/stri...
    comment by jeffbee · 2021-11-28 · in Optimising Memset and Memcpy
  49. …link into your executable. For example, all of the code in clang to do this is located in https://github.com/llvm/llvm-project/blob/main/clang/lib/Cod...
    comment by jcranmer · 2021-11-05 · in How to learn compilers: LLVM Edition
  50. A14 is described in LLVM: https://github.com/llvm/llvm-project/blob/9e4d72675f476386cf...