diff --git a/lib/Target/PowerPC/PPCHazardRecognizers.cpp b/lib/Target/PowerPC/PPCHazardRecognizers.cpp index f081d149df1..3c7fcfa666d 100644 --- a/lib/Target/PowerPC/PPCHazardRecognizers.cpp +++ b/lib/Target/PowerPC/PPCHazardRecognizers.cpp @@ -73,7 +73,7 @@ PPCHazardRecognizer970::GetInstrType(unsigned Opcode, const TargetInstrDescriptor &TID = TII.get(Opcode); isLoad = TID.isSimpleLoad(); - isStore = TID.Flags & M_MAY_STORE_FLAG; + isStore = TID.mayStore(); unsigned TSFlags = TID.TSFlags;