Hacker GitHub

← All repos

llvm-mirror/llvm

View on GitHub ↗ ★ 4,576 LLVM archived

Project moved to: https://github.com/llvm/llvm-project

49 mentions on Hacker News by 41 people: 3 stories, 46 comments · first 2013-08-09 · latest 2022-10-16

Mentions per year 49 mentions · busiest year 2018 (12)
20082026
  1. …anyway, unless you're doing 'actual' text processing or need to write your own text renderer) [1] https://github.com/llvm-mirror/llvm/blob/master/lib/Support/...
  2. An extension to this infact is the following - https://github.com/llvm-mirror/llvm/blob/f36485f7ac2a8d72ad0... So the original user's comment might infact get detected by this and get optimised down to using popcnt. Will need to try it…
    comment by juxhindb · 2021-04-19 · in Rediscovering Hamming Code
  3. …[code stand]: https://releases.llvm.org/4.0.1/docs/CodingStandards.html [llvm-git]: https://github.com/llvm-mirror/llvm [llvm-doxy]: http://llvm.org/doxygen/modules.html PS. The Coding Standards will contain a lot of subjective stuff that…
    comment by palotasb · 2020-10-28 · in Ask HN: Good C++ code bases to read?
  4. …recurrences, so you can solve, say, sum i^2 with clang too: https://godbolt.org/z/-nHe78 [1] https://github.com/llvm-mirror/llvm/blob/master/lib/Analysis...
    comment by lifthrasiir · 2019-09-09 · in Popcount CPU instruction
  5. https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X... On x86, they have a scheduling model for most recent Intel Tock cycles going back to Sandy Lake, and AMD Piledriver, Jaguar, and Zen microarchitectures.
    comment by nwallin · 2019-05-02 · in Llvm-mca – LLVM Machine Code Analyzer
  6. …After you read that, you might want to look at the LLVM source https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X... /// The C convention as implemented on Windows/x86-64 and /// AArch64. This convention differs
    comment by CalChris · 2019-04-06 · in x86 Assembly Guide (2018)
  7. LLVM has python, go, ocaml and c bindings all in the same repository https://github.com/llvm-mirror/llvm/tree/master/bindings (the c bindings live somewhere else)
    comment by orbifold · 2018-10-08 · in Libp2p – A modular network stack
  8. …gcc and llvm. In fact. llvm has a test that specifically makes sure fib is transformed as thus: https://github.com/llvm-mirror/llvm/blob/30fa583f8430bfc7935...
  9. …who is the code owner of the clang frontend , chandler is the #5 contributor to LLVM (see here https://github.com/llvm-mirror/llvm/graphs/contributors ), and a quick trip to llvm-dev will tell you how much time he spends working on…
    comment by DannyBee · 2018-09-21 · in C++ Core Coroutines Proposal [pdf]
  10. Yet it contains monsters like this one https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X...
  11. …a slightly different use case (can only return different values, is not used for flow control). [1] https://github.com/llvm-mirror/llvm/blob/master/include/llvm...
  12. The llvm compiler has it's optimization routines here: https://github.com/llvm-mirror/llvm/tree/master/lib/Transfor... You can play around with how it takes in llvm code to optimized llvm code by using the opt tool. Here's a basic example.…
    comment by archgoon · 2018-08-27 · in Oops, I Wrote a C++ Compiler
  13. lol https://github.com/llvm-mirror/llvm/blob/48d710e2cb4c462c7b2...
  14. …https://github.com/v8/v8/tree/master/src ). And of course LuaJIT. 3) Compiler codegen, like LLVM ( https://github.com/llvm-mirror/llvm )
  15. …for llvm, I think this optimization should trigger in the optimizer's memcpy elimination pass ( https://github.com/llvm-mirror/llvm/blob/0818e789cb58fbf6b5e... ). However I don't see why clang could not simply apply the RVO logic to C code…
    comment by obl · 2018-06-02 · in One year of C
  16. …dependencies as well, instead it implements a lot of platform abstractions within the repository ( https://github.com/llvm-mirror/llvm/tree/master/lib/Support ), the remaining dependencies are mostly build dependencies such as python 2.7…
  17. Could you explain what part of their code of conduct ( https://github.com/llvm-mirror/llvm/blob/master/docs/CodeOfC... ) is racist or sexist?
  18. The llvm commit on GitHub (which shows whole diff at once): https://github.com/llvm-mirror/llvm/commit/8b2a3e8b203a332bb...
  19. …patch was committed to LLVM version 5, though. [0] is the macro-op fusion pass for x86. [0] https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X...
  20. …Looks like the LLVM implementation goes back to at least 2009: https://github.com/llvm-mirror/llvm/blob/master/include/llvm...
    comment by humanrebar · 2017-10-22 · in C++ Tips of the Week
  21. LLVM used to have a .net backend. ( https://github.com/llvm-mirror/llvm/tree/release_27/lib/Targ... )
  22. …change to LLVM. And this part is still evolving. Like, the last breaking change was 16 days ago: https://github.com/llvm-mirror/llvm/commit/e74c64e05ab257c37...
  23. …‘coz I have never saw complex systems that aren’t OOP. Even most compilers are OOP, take a look: https://github.com/llvm-mirror/llvm https://github.com/gcc-mirror/gcc/tree/master/gcc https://github.com/dotnet/roslyn > An object can contain…
    comment by Const-me · 2017-05-12 · in Don't overuse interfaces
  24. …instruction scheduling latencies without really understanding instruction scheduling itself. https://github.com/llvm-mirror/llvm/blob/master/lib/Target/A...
  25. …and http://docs.opencv.org/2.4/doc/tutorials/introduction/how_to... and https://github.com/llvm-mirror/llvm/blob/master/docs/index.r... respectively I do think rST is waaay more expressive, but I also recognize that in many of the
  26. …on front page, and not a single comment. Now that's rare. I assume everyone is excitedly browsing https://github.com/llvm-mirror/llvm ? ;) ( the official repo at http://llvm.org/git/llvm is down)
  27. …is just explicitly checking for a few specific bswap patterns rather than doing anything fancy: https://github.com/llvm-mirror/llvm/blob/master/lib/Transfor...
    comment by sunfish · 2016-12-15 · in Godbolt: Enter C, get Assembly
  28. …be optimized/vectorized. Requires compiler flags only found in 4.x/trunk, unfortunately. [1] https://github.com/llvm-mirror/llvm/tree/master/utils/opt-vi...
  29. Indeed: https://github.com/llvm-mirror/llvm/blob/ae889d36724efb174e8...
  30. Seems to be a built-in, extremely specific use case: https://github.com/llvm-mirror/llvm/blob/ae889d36724efb174e8... I suppose it makes sense, given: 1) popcount is very common in bit-manipulating programs, 2) there is no standard popcount…
  31. Already on it :-). https://github.com/llvm-mirror/llvm/tree/master/lib/Target/W... (linked to the Github mirror because the LLVM viewvc is currently down)
  32. Done https://github.com/llvm-mirror/llvm/tree/master/lib/Target/W...
    comment by jfbastien · 2016-03-15 · in Experimental support for WebAssembly in V8
  33. …(comes with associated complexity in the resulting client code), I'd always pick the latter. [1] https://github.com/llvm-mirror/llvm/blob/release_37/include/... [2] https://github.com/llvm-mirror/llvm/blob/release_37/include/...
    comment by aleden · 2016-01-09 · in Why I Write Games in C
  34. …CPI work exists (linked in article), I'm not sure if or when it will be ready for prime time. [1] https://github.com/llvm-mirror/llvm/commit/7ffec838a2b72e684... [2] http://reviews.llvm.org/D6094
    comment by jcr · 2015-07-26 · in Code-Pointer Integrity
  35. …thorough bit of work! Am i right in thinking that this would be stopped in its tracks by SafeStack: https://github.com/llvm-mirror/llvm/commit/7ffec838a2b72e684...
  36. LLVM has a GitHub mirror, too. https://github.com/llvm-mirror/llvm
  37. …Ugly! str x9, [x9], #8 Luckily it was fixed upstream. I don't like working in tablegen files. =) https://github.com/llvm-mirror/llvm/commit/7f4f923aa57ad8d7e...
    comment by jevinskie · 2015-05-20 · in Understanding C by learning assembly
  38. …could add it back and go full circle -- use LLILC to load your MSIL and compile it back to... MSIL. https://github.com/llvm-mirror/llvm/tree/svn-tags/RELEASE_27...
  39. …can't or is unwilling to do (e.g. custom backend-specific DAG nodes). I direct you at this file: https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X... github will give you a warning before loading it because that single C++…
  40. I give you: https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X... I agree with you that gcc is much less pleasant than LLVM+Clang, but to say that LLVM is better becauses it uses C++ everywhere is simply incorrect. In fact, using…
  41. I found two other implementations of software division in LLVM: https://github.com/llvm-mirror/llvm/blob/master/lib/Transfor... https://github.com/llvm-mirror/llvm/blob/master/lib/Transfor...
    comment by jevinskie · 2014-09-25 · in Faster Unsigned Division by Constants (2011)
  42. It looks like LLVM trunk still uses a subtraction and a shift for "uncooperative" divisors: https://github.com/llvm-mirror/llvm/blob/1bdc6c4519d9ad254b2...
    comment by simonster · 2014-09-25 · in Faster Unsigned Division by Constants (2011)
  43. …are aligned appropriately anyway but it'd still be pretty wonky if there was just the union. [0] https://github.com/llvm-mirror/llvm/blob/eee7a7a8362afddab3f...
  44. …on the LLVM-dev mailing list: http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-March/thread... https://github.com/llvm-mirror/llvm/commit/7b837d8c75f78fe55...
  45. Here is the LLVM Commit the article refers to. https://github.com/llvm-mirror/llvm/blob/7b837d8c75f78fe55c9...
    comment by glasshead969 · 2014-03-31 · in Apple's Cyclone Microarchitecture Detailed
  46. …pass that can infer the 'readonly' attribute. http://llvm.org/docs/LangRef.html#function-attributes https://github.com/llvm-mirror/llvm/blob/master/lib/Transfor...
    comment by jevinskie · 2013-08-09 · in Unusual speed boost: size matters