From 733c82bfbf5abfa4f987913fe5bf143cdcf887ba Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 2 Jan 2005 02:29:04 +0000 Subject: Expose isConvertibleToThreeAddress and isCommutable bits to the code generator. llvm-svn: 19243 --- llvm/utils/TableGen/CodeGenTarget.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp') diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp index 3680f197c491..b9c8bdbb9fa1 100644 --- a/llvm/utils/TableGen/CodeGenTarget.cpp +++ b/llvm/utils/TableGen/CodeGenTarget.cpp @@ -217,6 +217,8 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr) isLoad = R->getValueAsBit("isLoad"); isStore = R->getValueAsBit("isStore"); isTwoAddress = R->getValueAsBit("isTwoAddress"); + isConvertibleToThreeAddress = R->getValueAsBit("isConvertibleToThreeAddress"); + isCommutable = R->getValueAsBit("isCommutable"); isTerminator = R->getValueAsBit("isTerminator"); hasDelaySlot = R->getValueAsBit("hasDelaySlot"); -- cgit v1.2.3