[HN Gopher] How Clang compiles a function (2018)
___________________________________________________________________
How Clang compiles a function (2018)
Author : ibobev
Score : 11 points
Date : 2024-07-26 23:10 UTC (23 hours ago)
(HTM) web link (blog.regehr.org)
(TXT) w3m dump (blog.regehr.org)
| de_aztec wrote:
| Very interesting to see that Clang basically always produces very
| bad and unoptimized LLVM IR code and leaves it to LLVM to clean
| it all up. That said, it's not entirely true that Clang avoid
| doing any optimizations -- it does indeed produce slightly
| different LLVM IR for -O0 and -O3.
| dang wrote:
| Discussed at the time:
|
| _How Clang Compiles a Function_ -
| https://news.ycombinator.com/item?id=17405594 - June 2018 (16
| comments)
___________________________________________________________________
(page generated 2024-07-27 23:03 UTC)