[PATCH] D108759: [AArch64][NFC] Fix ComplexPattern types conflicting with uses

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 26 04:59:00 PDT 2021


jrtc27 created this revision.
jrtc27 added reviewers: david-arm, paulwalker-arm, t.p.northover.
Herald added subscribers: hiraditya, kristof.beyls.
jrtc27 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

When used as a non-leaf node, TableGen does not currently use the type
of a ComplexPattern for type inference, which also means it does not
check it doesn't conflict with the use. This differs from when used as a
leaf value, where the type is used for inference. Fixing that
discrepancy is something I intend to upstream as a subsequent review,
but these are all the type conflicts found (all legitimate) by my
locally-patched TableGen.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108759

Files:
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/SVEInstrFormats.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108759.368852.patch
Type: text/x-patch
Size: 12397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210826/8029a35c/attachment.bin>


More information about the llvm-commits mailing list