Fixed links in compare-llvm.md (#1690)

Several links were broken by line-breaks between the link caption and
the link itself. This commit fixes them by moving each on its own line.

Co-authored-by: k.bagrov <k.bagrov@g.nsu.ru>
This commit is contained in:
Cerberuser
2020-05-13 16:52:36 +07:00
committed by GitHub
parent 5987cf5cda
commit f5eab5225f

View File

@@ -3,10 +3,11 @@
[LLVM](https://llvm.org) is a collection of compiler components implemented as
a set of C++ libraries. It can be used to build both JIT compilers and static
compilers like [Clang](https://clang.llvm.org), and it is deservedly very
popular. [Chris Lattner's chapter about LLVM]
(https://www.aosabook.org/en/llvm.html) in the [Architecture of Open Source
Applications](https://aosabook.org/en/index.html>) book gives an excellent
overview of the architecture and design of LLVM.
popular.
[Chris Lattner's chapter about LLVM](https://www.aosabook.org/en/llvm.html)
in the
[Architecture of Open Source Applications](https://aosabook.org/en/index.html>)
book gives an excellent overview of the architecture and design of LLVM.
Cranelift and LLVM are superficially similar projects, so it is worth
highlighting some of the differences and similarities. Both projects:
@@ -132,9 +133,9 @@ only has a single target and falls through to the next instruction when its
condition is false. The Cranelift representation is closer to how machine code
works; LLVM's representation is more abstract.
LLVM uses [phi instructions]
(https://llvm.org/docs/LangRef.html#phi-instruction) in its SSA
representation. Cranelift passes arguments to EBBs instead. The two
LLVM uses
[phi instructions](https://llvm.org/docs/LangRef.html#phi-instruction)
in its SSA representation. Cranelift passes arguments to EBBs instead. The two
representations are equivalent, but the EBB arguments are better suited to
handle EBBs that may contain multiple branches to the same destination block
with different arguments. Passing arguments to an EBB looks a lot like passing