Fix doc warnings and link failures (#1948)
Also add configuration to CI to fail doc generation if any links are broken. Unfortunately we can't blanket deny all warnings in rustdoc since some are unconditional warnings, but for now this is hopefully good enough. Closes #1947
This commit is contained in:
@@ -12,13 +12,13 @@
|
||||
//! from the branch itself.
|
||||
//!
|
||||
//! - The lowering of control flow from the CFG-with-edges produced by
|
||||
//! [BlockLoweringOrder], combined with many empty edge blocks when the register
|
||||
//! allocator does not need to insert any spills/reloads/moves in edge blocks,
|
||||
//! results in many suboptimal branch patterns. The lowering also pays no
|
||||
//! attention to block order, and so two-target conditional forms (cond-br
|
||||
//! followed by uncond-br) can often by avoided because one of the targets is
|
||||
//! the fallthrough. There are several cases here where we can simplify to use
|
||||
//! fewer branches.
|
||||
//! [BlockLoweringOrder](super::BlockLoweringOrder), combined with many empty
|
||||
//! edge blocks when the register allocator does not need to insert any
|
||||
//! spills/reloads/moves in edge blocks, results in many suboptimal branch
|
||||
//! patterns. The lowering also pays no attention to block order, and so
|
||||
//! two-target conditional forms (cond-br followed by uncond-br) can often by
|
||||
//! avoided because one of the targets is the fallthrough. There are several
|
||||
//! cases here where we can simplify to use fewer branches.
|
||||
//!
|
||||
//! This "buffer" implements a single-pass code emission strategy (with a later
|
||||
//! "fixup" pass, but only through recorded fixups, not all instructions). The
|
||||
@@ -41,7 +41,7 @@
|
||||
//! by the emitter (e.g., vcode iterating over instruction structs). The emitter
|
||||
//! has some awareness of this: it either asks for an island between blocks, so
|
||||
//! it is not accidentally executed, or else it emits a branch around the island
|
||||
//! when all other options fail (see [Inst::EmitIsland] meta-instruction).
|
||||
//! when all other options fail (see `Inst::EmitIsland` meta-instruction).
|
||||
//!
|
||||
//! - A "veneer" is an instruction (or sequence of instructions) in an "island"
|
||||
//! that implements a longer-range reference to a label. The idea is that, for
|
||||
|
||||
Reference in New Issue
Block a user