add a mayLoad property for machine instructions, a correlary to mayStore.
[oota-llvm.git] / utils / TableGen / CodeGenInstruction.cpp
index daab0654a410f88624be536d98299575eac3b585..9778db3ccfd3e06d95f27851a82ad656298671dc 100644 (file)
@@ -84,6 +84,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr)
   isBarrier    = R->getValueAsBit("isBarrier");
   isCall       = R->getValueAsBit("isCall");
   isSimpleLoad = R->getValueAsBit("isSimpleLoad");
+  mayLoad      = R->getValueAsBit("mayLoad");
   mayStore     = R->getValueAsBit("mayStore");
   isImplicitDef= R->getValueAsBit("isImplicitDef");
   bool isTwoAddress = R->getValueAsBit("isTwoAddress");