diff --git a/src/compiler/nir/nir_builder.h b/src/compiler/nir/nir_builder.h index 37711abe68c..b5b0ba365bf 100644 --- a/src/compiler/nir/nir_builder.h +++ b/src/compiler/nir/nir_builder.h @@ -570,7 +570,7 @@ nir_mov_alu(nir_builder *build, nir_alu_src src, unsigned num_components) } /** - * Construct an fmov or imov that reswizzles the source's components. + * Construct a mov that reswizzles the source's components. */ static inline nir_ssa_def * nir_swizzle(nir_builder *build, nir_ssa_def *src, const unsigned *swiz, diff --git a/src/compiler/nir/nir_from_ssa.c b/src/compiler/nir/nir_from_ssa.c index e3b2d16a8fb..f1871db6cc2 100644 --- a/src/compiler/nir/nir_from_ssa.c +++ b/src/compiler/nir/nir_from_ssa.c @@ -937,10 +937,10 @@ place_phi_read(nir_builder *b, nir_register *reg, nir_store_reg(b, reg, def, ~0); } -/** Lower all of the phi nodes in a block to imovs to and from a register +/** Lower all of the phi nodes in a block to movs to and from a register * * This provides a very quick-and-dirty out-of-SSA pass that you can run on a - * single block to convert all of its phis to a register and some imovs. + * single block to convert all of its phis to a register and some movs. * The code that is generated, while not optimal for actual codegen in a * back-end, is easy to generate, correct, and will turn into the same set of * phis after you call regs_to_ssa and do some copy propagation.