Rename BigInt to IntLiteral. (#4476)

In preparation for changing the type of integer literals to
`IntLiteral`.
This commit is contained in:
Richard Smith
2024-11-02 02:09:10 +00:00
committed by GitHub
parent db76e81630
commit 44fe65fbe5
38 changed files with 556 additions and 466 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ static auto EmitAsConstant(ConstantContext& context, SemIR::IntValue inst)
-> llvm::Constant* {
auto* type = context.GetType(inst.type_id);
// BigInt is represented as an empty struct. All other integer types are
// IntLiteral is represented as an empty struct. All other integer types are
// represented as an LLVM integer type.
if (!llvm::isa<llvm::IntegerType>(type)) {
auto* struct_type = llvm::dyn_cast<llvm::StructType>(type);