Fix documentation for inst_clobbers (#89)

Clobbers don't conflict with early uses, so they effectively act as a
late def, not an early def.
This commit is contained in:
Amanieu d'Antras
2022-09-27 00:14:08 +01:00
committed by GitHub
parent 061963f469
commit 67f5c167a8

View File

@@ -1032,7 +1032,7 @@ pub trait Function {
/// that must be live across the instruction.
///
/// Another way of seeing this is that a clobber is equivalent to
/// an "early def" of a fresh vreg that is not used anywhere else
/// a "late def" of a fresh vreg that is not used anywhere else
/// in the program, with a fixed-register constraint that places
/// it in a given PReg chosen by the client prior to regalloc.
///