This commit adds location attributes and arrays of locations to OpBase.td. Using LocationAttrs directly in an operation is useful when the location does not correspond 1-1 to an operation or value in the IR. We use this in CIRCT to store the declaration location of result ports of HWModule operations.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
My old patch was generated with --no-prefix, which seems to have confused phabricator, and lead to the CI failures.
Comment Actions
I'm actually surprised we didn't have this one, thanks, let know if you need help landing.