[llvm] [InstrRef][nfc] Remove usage of unique_ptrs of arrays (PR #74203)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 10:50:38 PST 2023


================
@@ -1200,21 +1200,21 @@ class InstrRefBasedLDV : public LDVImpl {
   /// exists, otherwise returns std::nullopt.
   std::optional<ValueIDNum> getValueForInstrRef(unsigned InstNo, unsigned OpNo,
                                                 MachineInstr &MI,
-                                                const ValueTable *MLiveOuts,
-                                                const ValueTable *MLiveIns);
+                                                const FuncValueTable *MLiveOuts,
+                                                const FuncValueTable *MLiveIns);
----------------
dwblaikie wrote:

Ah, OK - optionality makes sense, thanks!

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


More information about the llvm-commits mailing list