[llvm] [TableGen, CodeGen, CHERI] Add support for the cPTR wildcard value type. (PR #158426)
Owen Anderson via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 22 05:04:04 PDT 2025
================
@@ -816,6 +818,11 @@ void TypeInfer::expandOverloads(TypeSetByHwMode::SetType &Out,
if (Out.count(MVT::pAny)) {
Out.erase(MVT::pAny);
Out.insert(MVT::iPTR);
+ for (MVT T : MVT::cheri_capability_valuetypes()) {
+ if (Legal.count(T)) {
+ Out.insert(MVT::cPTR);
+ }
----------------
resistor wrote:
Done
https://github.com/llvm/llvm-project/pull/158426
More information about the llvm-commits
mailing list