[llvm] AMDGPU: Implement getRequiredProperties for SIFoldOperands (PR #127522)

Akshat Oke via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 21:40:34 PST 2025


================
@@ -17,6 +17,11 @@ class SIFoldOperandsPass : public PassInfoMixin<SIFoldOperandsPass> {
   SIFoldOperandsPass() = default;
   PreservedAnalyses run(MachineFunction &MF,
                         MachineFunctionAnalysisManager &MFAM);
+
+  MachineFunctionProperties getRequiredProperties() const {
----------------
optimisan wrote:

Also requires the `MFPropsModifier` object in the `::run` method.

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


More information about the llvm-commits mailing list