[llvm] MCExpr-ify SIProgramInfo (PR #88257)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 12 07:08:22 PDT 2024
================
@@ -462,6 +463,12 @@ MetadataStreamerMsgPackV4::getHSAKernelProps(const MachineFunction &MF,
const SIMachineFunctionInfo &MFI = *MF.getInfo<SIMachineFunctionInfo>();
const Function &F = MF.getFunction();
+ auto getMCExprValue = [](const MCExpr *Value) {
+ int64_t Val;
+ Value->evaluateAsAbsolute(Val);
----------------
arsenm wrote:
Unchecked failure condition
https://github.com/llvm/llvm-project/pull/88257
More information about the llvm-commits
mailing list