[llvm] [TableGen][RISCV][GlobalISel] Select G_ICMP, G_SELECT, G_PTR_ADD (PR #67185)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 22 14:35:57 PDT 2023


================
@@ -35,6 +35,8 @@ ValueTypeByHwMode::ValueTypeByHwMode(Record *R, const CodeGenHwModes &CGH) {
     assert(I.second && "Duplicate entry?");
     (void)I;
   }
+  if (R->isSubClassOf("PtrValueType"))
----------------
mshockwave wrote:

I feel like hoisting this TableGen change (as well as its related one in `llvm/Target/Target.td`) to a separate patch will be more ideal, as they're generic changes that might deserve its own test.

https://github.com/llvm/llvm-project/pull/67185


More information about the llvm-commits mailing list