Skip to content

Detect missmatches between CDSLInstr struct and PatternArg in backend #50

@PhilippvK

Description

@PhilippvK

See comment here: https://github.com/mathis-s/CoreDSL2LLVM/blob/llvm-19.1.0/llvm/lib/CodeGen/GlobalISel/PatternGen.cpp#L81-L90

  // We also have in and out bits in the CDSLInstr struct itself.
  // These bits are currently ignored though. Instead, we find inputs
  // and outputs during pattern gen and store that in these fields.
  // We may want to add a warning on mismatch between the two.

This would probably help to fix #49 as well.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions