Skip to content

[CIR] Upstream binary expression support #130193

@andykaylor

Description

@andykaylor

Overview

Upstream support for binary expressions and the cir.binop operation. The initial change should just add support a single operation, such as assignment. Other binary operators can then be added afterwards.

Suggested minimal test case

void f(int i) {
  i = 2;
}

Existing incubator tests

clang/test/CIR/CodeGen/binop.cpp (could use improvement)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClangIRAnything related to the ClangIR project

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions