diff options
| author | Akshat Oke <Akshat.Oke@amd.com> | 2025-05-06 09:05:52 +0000 |
|---|---|---|
| committer | Akshat Oke <Akshat.Oke@amd.com> | 2025-07-09 08:49:20 +0000 |
| commit | 6d6546da6f88c149757ae9e60351e1a2dec7126a (patch) | |
| tree | ca912840c310f871acd12f4bcdfd492ba222b4d2 /llvm/lib/CodeGen/VirtRegMap.cpp | |
| parent | f39a6916b0c9fb444a728edc58916fe4cee3fc12 (diff) | |
[CodeGen][NPM] VirtRegRewriter: Set VirtReg flagusers/optimisan/set-vrr-flag
Diffstat (limited to 'llvm/lib/CodeGen/VirtRegMap.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/VirtRegMap.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp index 3d6ccba894e9..99ba893d6f09 100644 --- a/llvm/lib/CodeGen/VirtRegMap.cpp +++ b/llvm/lib/CodeGen/VirtRegMap.cpp @@ -301,6 +301,8 @@ bool VirtRegRewriterLegacy::runOnMachineFunction(MachineFunction &MF) { PreservedAnalyses VirtRegRewriterPass::run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM) { + MFPropsModifier _(*this, MF); + VirtRegMap &VRM = MFAM.getResult<VirtRegMapAnalysis>(MF); LiveIntervals &LIS = MFAM.getResult<LiveIntervalsAnalysis>(MF); LiveRegMatrix &LRM = MFAM.getResult<LiveRegMatrixAnalysis>(MF); |
