================ @@ -307,8 +340,10 @@ class SrcSafetyAnalysis { SrcState createEntryState() { SrcState S(NumRegs, RegsToTrackInstsFor.getNumTrackedRegisters()); - for (MCPhysReg Reg : BC.MIB->getTrustedLiveInRegs()) - S.SafeToDerefRegs |= BC.MIB->getAliases(Reg, /*OnlySmaller=*/true); + for (MCPhysReg Reg : BC.MIB->getTrustedLiveInRegs()) { + S.TrustedRegs |= BC.MIB->getAliases(Reg, /*OnlySmaller=*/true); + S.SafeToDerefRegs = S.TrustedRegs; + } ---------------- atrosinenko wrote:
Fixed, thank you! https://github.com/llvm/llvm-project/pull/134146 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits