use predicate.
authorChris Lattner <sabre@nondot.org>
Mon, 7 Jan 2008 06:37:29 +0000 (06:37 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 7 Jan 2008 06:37:29 +0000 (06:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45691 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCHazardRecognizers.cpp

index f081d149df183fe7c7a716746c1226bd981180e8..3c7fcfa666d2c40223a926a8d48cfb1cc459186e 100644 (file)
@@ -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;