Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil committed Nov 9, 2023
1 parent 757ff91 commit 227cbb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/compiler/crystal/codegen/target.cr
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class Crystal::Codegen::Target

target = LLVM::Target.from_triple(self.to_s)
machine = target.create_target_machine(self.to_s, cpu: cpu, features: features, opt_level: opt_level, code_model: code_model).not_nil!
# We need to disable global isel until https://reviews.llvm.org/D80898 is released,
# FIXME: We need to disable global isel until https://reviews.llvm.org/D80898 is released,
# or we fixed generating values for 0 sized types.
# When removing this, also remove it from the ABI specs and jit compiler.
# See https://github.com/crystal-lang/crystal/issues/9297#issuecomment-636512270
Expand Down
2 changes: 1 addition & 1 deletion src/llvm/jit_compiler.cr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class LLVM::JITCompiler
raise LLVM.string_and_dispose(error)
end

# We need to disable global isel until https://reviews.llvm.org/D80898 is released,
# FIXME: We need to disable global isel until https://reviews.llvm.org/D80898 is released,
# or we fixed generating values for 0 sized types.
# When removing this, also remove it from the ABI specs and Crystal::Codegen::Target.
# See https://github.com/crystal-lang/crystal/issues/9297#issuecomment-636512270
Expand Down

0 comments on commit 227cbb0

Please sign in to comment.