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. …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
  2. …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++
  3. …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
  4. 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…
  5. …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
  6. …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
  7. ▲ 1
    Add ELF machine flag and relocs for upcoming LoongArch target
    story by limoce · 2022-02-13 · 0 comments
  8. ▲ 8
    Enable fast sqrtss/sqrtps tuning for AMD Zen cores
    story by caaqil · 2022-02-05 · 0 comments
  9. ▲ 1
    LLVM Libc: A retargetable implementation of the C standard library
    story by ksec · 2022-02-02 · 0 comments
  10. …https://github.com/tensorflow/tensorflow/pull/51578 https://github.com/mono/mono/pull/21197 https://github.com/llvm/llvm-project/pull/335
  11. …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…
  12. …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...
  13. …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)
  14. https://github.com/llvm/llvm-project/commits/main/libc shows there were commits recently.
  15. 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... )
  16. 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)
  17. 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)
  18. …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…
  19. …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
  20. …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
  21. A14 is described in LLVM: https://github.com/llvm/llvm-project/blob/9e4d72675f476386cf...
  22. ▲ 3
    LLVM 13.0.0
    story by marcodiego · 2021-10-01 · 0 comments
  23. …code in clang is distributed over multiple files which together are way more than 3000 lines: https://github.com/llvm/llvm-project/tree/llvmorg-12.0.1/cla...
  24. …handwritten but the same file handles parsing C, Objective-C and C++. And it's under 3000 lines! https://github.com/llvm/llvm-project/blob/llvmorg-12.0.1/cla...
  25. This appears to be the source code: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Tran... It's long, but it looks well-commented! Some Googling also finds https://llvm.org/devmtg/2009-10/ScalarEvolutionAndLoopOptimi... which…
  26. …an answer to the question, but a fun fact: there is a julia source file in the llvm project [1] [1] https://github.com/llvm/llvm-project/blob/d480f968ad8b56d3ee...
    comment by stabbles · 2021-07-26 · in What's bad about Julia?
  27. LLVM got upstream support for the swifttailcc calling convention last week [0]. [0] https://github.com/llvm/llvm-project/commit/82a0e808bb2cddc1...
    comment by tambre · 2021-05-24 · in WWDC21
  28. https://github.com/llvm/llvm-project/blob/main/llvm/lib/Targ... is probably a good start for LLVM.
  29. Funny that compilers (e.g. clang: https://github.com/llvm/llvm-project/blob/b04148f77713c92ee5... ) might be able to do that only because someone on the compiler team has hand-coded a bswap expression detector.
    comment by borman · 2021-05-08 · in The Byte Order Fiasco
  30. …and CIL for C/C++/Fortran [1]. It seems like Fortran tooling is making somewhat of a comeback. [0]: https://github.com/llvm/llvm-project/tree/main/flang [1]: https://llvm.org/devmtg/2020-09/slides/CIL_Common_MLIR_Abstr...
    comment by aarchi · 2021-04-29 · in Fortran Package Manager
  31. It seems that that code handles just the case when target is function. https://github.com/llvm/llvm-project/blob/535df472b04208d6ae...
  32. …guaranteed, and rejects the program if these rules are violated. The documentation has the details: https://github.com/llvm/llvm-project/blob/3b8ec86fd576b9808d... These rules guarantee that the tail call is possible to perform on every…
  33. ▲ 3
    LLVM: Support for Motorola 68k CPUs officially added
    story by doener · 2021-04-09 · 0 comments
  34. ▲ 3
    LLVM now has an experimental back end for M68k (Motorola 68000 series CPU)
    story by mshockwave · 2021-03-08 · 2 comments
  35. …clang+llvm package takes 300-400 MB, that's almost an order of magnitude difference: https://github.com/llvm/llvm-project/releases/tag/llvmorg-11...
  36. …[2]: https://github.com/gcc-mirror/gcc/blob/master/libgcc/unwind-... [3]: https://github.com/llvm/llvm-project/blob/main/libunwind/src...
    comment by loeg · 2021-02-11 · in Pattern matching accepted for Python
  37. …they still do reviews and merges outside of github. linux kernel project does a similar thing. [0] https://github.com/llvm/llvm-project
    comment by olmideso · 2021-02-09 · in SDL Moves to GitHub
  38. …with Ruby changes. But even for example the parser in clang doesn't seem to be touched very often. https://github.com/llvm/llvm-project/commits/main/clang/lib/... Take a look at the commits there and see how much each changes the parser vs…
    comment by chrisseaton · 2021-02-09 · in Compiler Class
  39. ▲ 1
    External Clang Examples
    story by peter_d_sherman · 2021-02-09 · 1 comment
  40. …that it would do something like compiler-rt and replace that operation with a function call. See https://github.com/llvm/llvm-project/tree/main/compiler-rt/l... for examples of "code that doesn't look like a function call" that actually is.
  41. They are there: cplusplus_top_200.csv:llvm-project, https://github.com/llvm/llvm-project,C++,48,0,2573,5,652.3,2... c_top_200.csv:postgres, https://github.com/postgres/postgres,C,124,0,50,5,41.1,52,1,... sqlite sorry since it is not hosted…
    comment by abharya · 2020-12-11 · in Finding Critical Open Source Projects
  42. ▲ 3
    The default branch of LLVM has changed to “main”
    story by mshockwave · 2020-12-08 · 1 comment
  43. …However, there's a Fortran front-end for LLVM: https://github.com/flang-compiler/flang/wiki https://github.com/llvm/llvm-project/tree/master/flang/ I wonder if it's an alternative to waiting on gcc gaining arm64 support. Frankly, I don't…
  44. ▲ 1
    Adding PoisonValue for representing poison value explicitly in IR
    story by azhenley · 2020-11-28 · 0 comments
  45. You may also want to try the GN build: https://github.com/llvm/llvm-project/blob/master/llvm/utils/...
    comment by zmodem · 2020-10-29 · in Bazel Build System Support for LLVM
  46. I think while flang ( https://github.com/llvm/llvm-project/tree/master/flang ) is getting more stable. It would be a lot easier to compile Fortran into WASM with LLVM's WASM backend
    comment by mshockwave · 2020-09-30 · in Fortran Compiled to WebAssembly
  47. …(calculating in base 10^16) for conversions that is fast and doesn't require big look-up tables. https://github.com/llvm/llvm-project/tree/master/flang/lib/D...
  48. The new URL is a nice overview but doesn't mention at which commit the code got merged: https://github.com/llvm/llvm-project/commit/94faadaca4e1704f...
  49. Apple’s strange ABI is upstreamed: https://github.com/llvm/llvm-project/search?q=arm64_32&unsco... . Not sure what “column” you’re talking about, but it’s fairly clear that macOS’s clang is based on a fairly recent LLVM that they branched…
    comment by saagarjha · 2020-08-14 · in Producing Open Source Software (2017)
  50. For compiler-rt it is Apache 2.0 license https://github.com/llvm/llvm-project/blob/master/compiler-rt...
    comment by danlark1 · 2020-07-19 · in Optimizing 128-bit Division