From 631fcbf81013c2cd1cf5e5ebea596213e6ac833e Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Wed, 18 May 2011 23:03:10 +0000 Subject: [PATCH] Add missing mayLoad / mayStore flags to instruction definitions without patterns, which fixes all of the CodeGen/MBlaze verifier failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131595 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/MBlaze/MBlazeInstrInfo.td | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Target/MBlaze/MBlazeInstrInfo.td b/lib/Target/MBlaze/MBlazeInstrInfo.td index 896e8eae163..950f2d77029 100644 --- a/lib/Target/MBlaze/MBlazeInstrInfo.td +++ b/lib/Target/MBlaze/MBlazeInstrInfo.td @@ -245,20 +245,25 @@ class PatCmp op, bits<11> flags, string instr_asm> : //===----------------------------------------------------------------------===// // Memory Access Instructions //===----------------------------------------------------------------------===// + +let mayLoad = 1 in { class LoadM op, bits<11> flags, string instr_asm> : TA; +} class LoadMI op, string instr_asm, PatFrag OpNode> : TB; +let mayStore = 1 in { class StoreM op, bits<11> flags, string instr_asm> : TA; +} class StoreMI op, string instr_asm, PatFrag OpNode> : TB