Skip to content

[CIR] Upstream handling of integral-to-pointer casts #153658

@andykaylor

Description

@andykaylor

Overview

Upstream support for handling integral-to-pointer casts in ClangIR.

Suggested minimal test case

void f(long int start) {
  void *p = (void*)start;
}

Existing incubator tests

clang/test/CIR/CodeGen/cast.cpp

Metadata

Metadata

Assignees

Labels

ClangIRAnything related to the ClangIR projectgood first issuehttps://github.com/llvm/llvm-project/contribute

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions