Skip to content

[Codegen] buildUnderlyingOperations shouldn't carry pipeline-specific options(can not do two jobs at once ) #25274

Open

Description

@liuyalong

buildUnderlyingOperations conflates two things: passing through the tiling information and building/returning the resulting instruction sequence.

#25125 added a skipIntermediateRoundings param to wire the CLI flag through for CPU/RVV Zvfhmin; GPU just ignores it. Pipeline-specific options shouldn't live on the common interface. We should let them be consumed by the rewrite patterns that lower inner_tiled, and have this interface accept that set of patterns — like emitIntrinsic is passed to buildDataTiledMMAUnderlyingOperations.

Links:

  1. PR: [Codegen][CPU] Honor --iree-llvmcpu-skip-intermediate-roundings=false for RVV Zvfhmin f16 inner_tiled MMA #25125
  2. Review thread: [Codegen][CPU] Honor --iree-llvmcpu-skip-intermediate-roundings=false for RVV Zvfhmin f16 inner_tiled MMA #25125 (comment) from @AGindinson

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions