[llvm] [DWARF][NFC] Remove unused 'Reads' param from checkCFADiff and checkRegDiff (PR #174941)

Konrad Kleine via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 8 23:41:34 PST 2026


================
@@ -158,19 +158,18 @@ void DWARFCFIAnalysis::update(const MCInst &Inst,
   assert(MaybeNextRow && "previous row existed, so should the current row");
   auto NextRow = *MaybeNextRow;
 
-  checkCFADiff(Inst, PrevRow, NextRow, Reads, Writes);
+  checkCFADiff(Inst, PrevRow, NextRow, Writes);
----------------
kwk wrote:

You're right. I've updated the PR but I'm still checking if there could be any side-effects.

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


More information about the llvm-commits mailing list