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 the reason why I got so many "./" was due to a clang preprocessor bug that modifies __FILE__: https://github.com/llvm/llvm-project/issues/43825
    comment by omoikane · 2024-07-31 · in `find` + `mkdir` is Turing complete
  2. …assembler patch that will eliminate almost all mapping symbols without breaking disassemblers https://github.com/llvm/llvm-project/pull/99718 - RISC-V ISA extension `$x<ISA>` (unimplemented yet) would raise question where the relocatable…
  3. …indices that each select a separate register, and blend those shuffled together all in one uop. https://github.com/llvm/llvm-project/issues/79196 also mentions this in "we want the elements to come from as few DLENs of the source vector as…
  4. …bisecting functions when given assembly produced by working baseline and “bad” compiler to compare: https://github.com/llvm/llvm-project/blob/main/llvm/utils/ab...
  5. Ok, 18.1.8 uploaded [1] [2]. [1] https://github.com/llvm/llvm-project/releases/tag/llvmorg-18... [2] https://discourse.llvm.org/t/18-1-8-has-been-tagged/79726/10...
    comment by quic_bcain · 2024-07-06 · in Integrated assembler improvements in LLVM 19
  6. ▲ 12
    Guide on optimizing Linux kernel with BOLT
    story by dist1ll · 2024-07-03 · 0 comments
  7. This looks like iffy blogspam of https://github.com/llvm/llvm-project/blob/main/bolt/docs/Opt... The claim in it is 'up to 5% improvement' so the title seems overstated as well.
  8. …knows where else there might be pre-builts? There used to be something just like that for v17, like https://github.com/llvm/llvm-project/releases/download/llvmo...
  9. …planned: - Removing per-instruction timers, which add a measurable overhead even when disabled ( https://github.com/llvm/llvm-project/pull/97046 ) - Splitting AsmPrinterHandler (used for unwind info) and DebugHandler (used also for…
  10. …However, due to complex interactions in the backend, this does not actually happen in this case ( https://github.com/llvm/llvm-project/issues/94829 ).
    comment by nikic · 2024-06-09 · in Compilers are too smart
  11. …the output back to an object file. The test cases are a good way to explore the functionality: https://github.com/llvm/llvm-project/tree/main/llvm/test/too... https://github.com/llvm/llvm-project/tree/main/llvm/test/too...
    comment by MaskRay · 2024-05-28 · in Evolution of the ELF object file format
  12. To answer my own question, it appears the Oryon CPUs do not according to this LLVM patch: https://github.com/llvm/llvm-project/blob/8aebe46d7fdd15f02a... There's a pretty good interpretation of it here:…
    comment by 201984 · 2024-05-23 · in Introducing Copilot+ PCs
  13. …it to enable partial and runtime unrolling for in-order models. I've left a review comment https://github.com/llvm/llvm-project/pull/91022/files#r16026... and as I note there, the setting seems to have become very divorced from…
    comment by asb · 2024-05-16 · in Qualcomm's Oryon LLVM Patches
  14. …to in that GH issue is showing that LLVM will attempt constant folding of various trig functions: https://github.com/llvm/llvm-project/blob/faa43a80f70c639f40... but the IEEE-754 spec does also recommend correctly rounded results for those…
  15. …people have written tooling for those checks for various CPUs? Also, is it that ‘simple’? Reading https://github.com/llvm/llvm-project/issues/62479 , calculations that the compiler does and that only end up in the executable as constants…
  16. …[1] to libc++ [2]. [1]: https://github.com/gcc-mirror/gcc/blob/065dddc/libstdc++-v3/... [2]: https://github.com/llvm/llvm-project/blob/1a96179/libcxx/inc... Basically libstdc++ is paying an extra 8 bytes of storage, and losing trivial…
    comment by quuxplusone · 2024-05-08 · in Qt and C++ Trivial Relocation (Part 1)
  17. ▲ 2
    Add support for Qualcomm Oryon processor
    story by gok · 2024-05-04 · 0 comments
  18. …is still in preview[2], and GCC 14 isn't even out yet. This can't be nearer the bleeding edge. [1]: https://github.com/llvm/llvm-project/releases/tag/llvmorg-18... [2]: https://learn.microsoft.com/en-us/visualstudio/releases/2022...
    comment by delta_p_delta_x · 2024-04-29 · in Speeding up C++ build times
  19. See https://github.com/llvm/llvm-project/issues/88344 https://fortran-lang.discourse.group/t/flang-new-how-to-forc...
  20. …guarantees (like memory fences) from loops, not just the data as it appears to a single thread. [1] https://github.com/llvm/llvm-project/issues/64188
    comment by dataflow · 2024-04-07 · in A memory model for Rust code in the kernel
  21. Pull requests are always welcome ( https://github.com/llvm/llvm-project ), and one can contact the general LLVM Fortran development community ( https://discourse.llvm.org/c/subprojects/flang/33 ) for help. I am focused on things needed to…
    comment by pklausler · 2024-04-05 · in Fortran on WebAssembly
  22. …ifunc has real uses and it indeed does not work when sanitizer is enabled. Similar change in llvm: https://github.com/llvm/llvm-project/commit/1ef3de6b09f6b21a...
  23. There is a related issue for LLVM/clang by this person: https://github.com/llvm/llvm-project/issues/63957
  24. …being able to cache and reuse compiled queries. Actually, it's implemented in LLVM for years :) https://github.com/llvm/llvm-project/commit/a98546ebcd2a692e...
    comment by weliveindetail · 2024-03-18 · in I wrote a new JIT compiler for PostgreSQL
  25. …fixed in both major C++ libraries: https://github.com/gcc-mirror/gcc/commit/ebf6175464768983a2d... https://github.com/llvm/llvm-project/commit/4f67a909902d8ab9... So what C++ community refused to regard this as an issue and refused to fix…
    comment by kllrnohj · 2024-03-12 · in C++ Safety, in Context
  26. …a bit on this aspect. [^1]: https://github.com/gcc-mirror/gcc/commit/ebf6175464768983a2d... [^2]: https://github.com/llvm/llvm-project/commit/4f67a909902d8ab9...
    comment by adev_ · 2024-03-12 · in C++ Safety, in Context
  27. Ok, I've restored the URL you submitted ( https://github.com/llvm/llvm-project/blob/8ec28af8eaff5acd0d... ).
  28. …from several other places as well. `IsClangCL()` that returns true if the driver mode is "cl": https://github.com/llvm/llvm-project/blob/8ec28af8eaff5acd0d... `setDriverMode()` which sets the above: https://github.com/llvm/llvm-project/blob…
  29. For everyone else looking for the magic in this almost 7k lines monster, look at line 6610 [1]. [1] https://github.com/llvm/llvm-project/blob/8ec28af8eaff5acd0d...
  30. ▲ 27
    Clang accepts MSVC arguments and targets Windows if its binary is named clang-cl
    story by delta_p_delta_x · 2024-03-02 · 6 comments
  31. …I don't know, and apparently it's so complex that it requires over 9000 lines of C++ to express: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Anal...
    comment by tinco · 2024-02-28 · in Rewrite the VP9 codec library in Rust
  32. https://github.com/llvm/llvm-project/blob/main/flang/docs/F2...
    comment by pklausler · 2024-02-22 · in Fortran 2023
  33. …from memory, even when the original location is still available, as can be seen in this issue: https://github.com/llvm/llvm-project/issues/53348 I vaguely remember that it could allow high-end CPUs to use something similar to register…
  34. …support for debuginfod server topologies now, it would be great to see Rust tools get on the train. https://github.com/llvm/llvm-project/commit/36f01909a0e29c10... And naturally we already have a port: https://crates.io/crates/debuginfod-rs
  35. …false but still worthwhile. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522 (GCC), https://github.com/llvm/llvm-project/issues/57589 (LLVM)
    comment by lifthrasiir · 2024-01-24 · in From slow to SIMD: A Go optimization story
  36. Looks like llvm recently got some RISC-V fusion support via -mtune: https://github.com/llvm/llvm-project/commits/main/llvm/lib/T...
  37. https://github.com/llvm/llvm-project/issues/57589 Turn on fast-math, it flips the FTZ/DAZ bit for the entire application. Even if you turned it on for just a shared library!
  38. …and it gets loaded, it sets the register, causing the whole process to flush it's subnormals. i.e https://github.com/llvm/llvm-project/issues/57589
  39. …uses a functionally same but slightly different stub file [1] because it prints no newlines. [1] https://github.com/llvm/llvm-project/blob/d7642b2/lld/COFF/W...
  40. …maybe it wasn't actually fixed--note: I only skimmed the comments and I probably misunderstood): https://github.com/llvm/llvm-project/issues/13989 Edit again: I forgot about the comment at the end of the article that clarifies that…
  41. …days. References: see the LLVM Flang documentation on extensions, non-standard features, &c. in https://github.com/llvm/llvm-project/blob/main/flang/docs/Ex... and a suite of various incompatible feature tests in…
  42. …C or C++ I'd strongly recommend using `__builtin_popcount` (provided by both Clang and GCC). [1]: https://github.com/llvm/llvm-project/blob/08a6968127f04a40d7... [2]: https://llvm.org/docs/LangRef.html#llvm-ctpop-intrinsic
  43. flang [1], it's part of the LLVM project. [1] https://github.com/llvm/llvm-project/tree/main/flang
    comment by rsecora · 2023-11-22 · in Fortran 2023
  44. …because of long compile times, spooky action at a distance, etc. Take these two files from LLVM: https://github.com/llvm/llvm-project/blob/main/libcxx/includ... https://github.com/llvm/llvm-project/blob/main/libcxx/includ... Is this "clean…
  45. ▲ 1
    Preprocessor Embed Support for Clang
    story by sigsev_251 · 2023-10-09 · 0 comments
  46. …all, I haven't checked 100%). For example, their libc stdio implementation is completely in C++. https://github.com/llvm/llvm-project/tree/main/libc/src/stdi... You could say the same thing about Rust and Relibc, but it seems much less…
  47. …of currently caught exceptions. For example in llvm this is available with a cxa_get_globals call: https://github.com/llvm/llvm-project/blob/b05f1d93469fbd6451... These need to be saved/restored when switching fibers, otherwise fiber…
    comment by snaury · 2023-09-24 · in Fiber in C++: Understanding the Basics
  48. …been to drag some of these issues into the sunlight, as it did for aliasing problems previously. https://github.com/llvm/llvm-project/issues/45725 Once the GCC work is closer to finished, I expect we'll see the same there. I disagree that…
    comment by tialaramex · 2023-09-19 · in Changing the Rules of Rust
  49. That would mean you can't use LLVM either. Similar issues exists there: https://github.com/llvm/llvm-project/labels/miscompilation
    comment by wdb · 2023-09-07 · in Bun 1.0 announcement [video]
  50. …This file implements an analysis, but the results of the analysis is used by transformations. https://github.com/llvm/llvm-project/blob/main/llvm/lib/Anal... > 3. there's no guarentee this malloc is a per-spec malloc, it can be a…