Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ClangIR][CIRGenFunction] implement buildToMemory #657

Open
orion160 opened this issue Jun 4, 2024 · 1 comment
Open

[ClangIR][CIRGenFunction] implement buildToMemory #657

orion160 opened this issue Jun 4, 2024 · 1 comment

Comments

@orion160
Copy link

orion160 commented Jun 4, 2024

For the moment buildToMemory is a no-op

mlir::Value CIRGenFunction::buildToMemory(mlir::Value Value, QualType Ty) {
  // Bool has a different representation in memory than in registers.
  return Value;
}
@Lancern
Copy link
Collaborator

Lancern commented Jun 6, 2024

CIR does not yet properly handle the bool type. See #480 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants