[llvm] [MIR] Serialize virtual register flags (PR #110228)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 29 12:40:26 PDT 2024
================
@@ -127,6 +127,16 @@ bool PerTargetMIParsingState::getRegisterByName(StringRef RegName,
return false;
}
+bool PerTargetMIParsingState::getVRegFlagValue(StringRef FlagName, uint8_t& FlagValue) const {
+ const auto *TRI = Subtarget.getRegisterInfo();
+ assert(TRI && "Expected target register info");
----------------
arsenm wrote:
This can't really fail, don't bother with the assert
https://github.com/llvm/llvm-project/pull/110228
More information about the llvm-commits
mailing list