chore: fix some comments (#2432)

Signed-off-by: luozexuan <fetchcode@139.com>
This commit is contained in:
luozexuan 2024-08-12 12:01:22 +08:00 committed by GitHub
parent d713dda315
commit edbcf9e017
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ public:
static ConstantInt *get(IntegerType *Ty, uint64_t V, bool IsSigned = false);
/// Return a ConstantInt with the specified value for the specified type. The
/// value V will be canonicalized to a an unsigned APInt. Accessing it with
/// value V will be canonicalized to an unsigned APInt. Accessing it with
/// either getSExtValue() or getZExtValue() will yield a correctly sized and
/// signed value for the type Ty.
/// Get a ConstantInt for a specific signed value.

View File

@ -51,7 +51,7 @@ def G_SEXT : GenericInstruction {
let hasSideEffects = false;
}
// Sign extend the a value from an arbitrary bit position, copying the sign bit
// Sign extend the value from an arbitrary bit position, copying the sign bit
// into all bits above it. This is equivalent to a shl + ashr pair with an
// appropriate shift amount. $sz is an immediate (MachineOperand::isImm()
// returns true) to allow targets to have some bitwidths legal and others