[PATCH] D99734: [MIPatternMatch]: Add ICstRegMatch

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 26 06:40:47 PDT 2021


foad added a comment.

Looks reasonable but should have at least one unit test.



================
Comment at: llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h:93
 
+struct ICstRegMatch {
+  Register &CR;
----------------
Move all of this up to line 69 ish, just after `m_ICst(int64_t &)`?


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

https://reviews.llvm.org/D99734



More information about the llvm-commits mailing list