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

[AutoBump] Merge with fixes of e47b5075 (Aug 20) (7) #360

Open
wants to merge 2 commits into
base: feature/fused-ops
Choose a base branch
from

Commits on Aug 20, 2024

  1. [mlir][EmitC] Model lvalues as a type in EmitC (llvm#91475)

    This adds an `emitc.lvalue` type which models assignable lvlaues in the
    type system. Operations modifying memory are restricted to this type
    accordingly.
    
    See also the discussion on
    [discourse](https://discourse.llvm.org/t/rfc-separate-variables-from-ssa-values-in-emitc/75224/9).
    The most notable changes are as follows.
    
    - `emitc.variable` and `emitc.global` ops are restricted to return
    `emitc.array` or `emitc.lvalue` types
    - Taking the address of a value is restricted to operands with lvalue
    type
    - Conversion from lvalues into SSA values is done with the new
    `emitc.load` op
    - The var operand of the `emitc.assign` op is restricted to lvalue type 
    - The result of the `emitc.subscript` and `emitc.get_global` ops is a
    lvalue type
    - The operands and results of the `emitc.member` and
    `emitc.member_of_ptr` ops are restricted to lvalue types
    
    ---------
    
    Co-authored-by: Matthias Gehre <[email protected]>
    simon-camp and mgehre-amd authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    e47b507 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Configuration menu
    Copy the full SHA
    d4eb15d View commit details
    Browse the repository at this point in the history