Skip to content

[CIR] Upstream compare expression support #130196

@andykaylor

Description

@andykaylor

Overview

Upstream support for compare expressions and the cir.cmp operation.

Suggested minimal test case

bool f(int a, int b) {
  return a > b;
}

Existing incubator tests

clang/test/CIR/CodeGen/cmp.cpp

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