Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: luozexuan <[email protected]>
  • Loading branch information
luozexuan committed Aug 9, 2024
1 parent d713dda commit 60907fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion suite/synctools/tablegen/include/llvm/IR/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class ConstantInt final : public ConstantData {
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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60907fc

Please sign in to comment.