News for hackers. Stuff that matters.
Re:Advanced Compilers: Self-Guided Online Course by thechao on Friday December 11, 2020 @03:03PM (#25390218)
If you have to stop "early" please get through the simple DCE and LVN passes.

A solid basic-block level DCE & LVN optimization along with a judicious "compile time evaluator" (simple constant folding) will let you produce code at around 80% of the level of LLVM.

Obviously, you're not going to get the magic that comes of LLVM's scalar analysis pass, but you're not going to be embarrassed with your performance, either.

There are no comments on this comment yet.