[PATCH] D142968: [NFC] Extract `CodeGenInstAlias` into its own *.h/*.cpp

Sergei Barannikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 31 03:55:10 PST 2023


barannikov88 added a comment.

I intent to make make InstAlias with "complex" operands (non-empty MIOperandInfo) more robust (stricter syntax).
The change will clobber most of the code here, and I thought it is a good time to move the class to a dedicated file.
Another weak point is that this class is only used in AsmMatcherEmitter and AsmWriterEmitter, while CodeGenInstruction.h is included everywhere.
The class does not have long history; there were only a few functional changes since initial commit.

That is, no strong motivation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142968/new/

https://reviews.llvm.org/D142968



More information about the cfe-commits mailing list