summaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenInstruction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-08 18:05:21 +0000
committerChris Lattner <sabre@nondot.org>2008-01-08 18:05:21 +0000
commitdcc8b4f5d3f62ae84aae100638085dedeee91588 (patch)
tree542679010194416ded3b980c89c35f255b63b43d /utils/TableGen/CodeGenInstruction.cpp
parente51775dc5e3503092313fe77174127f4f4d17374 (diff)
downloadllvm-dcc8b4f5d3f62ae84aae100638085dedeee91588.tar.gz
llvm-dcc8b4f5d3f62ae84aae100638085dedeee91588.tar.bz2
llvm-dcc8b4f5d3f62ae84aae100638085dedeee91588.tar.xz
add a mayLoad property for machine instructions, a correlary to mayStore.
This is currently not set by anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenInstruction.cpp')
-rw-r--r--utils/TableGen/CodeGenInstruction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenInstruction.cpp b/utils/TableGen/CodeGenInstruction.cpp
index daab0654a4..9778db3ccf 100644
--- a/utils/TableGen/CodeGenInstruction.cpp
+++ b/utils/TableGen/CodeGenInstruction.cpp
@@ -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");