summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/InstrInfoEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-02 02:29:04 +0000
committerChris Lattner <sabre@nondot.org>2005-01-02 02:29:04 +0000
commit733c82bfbf5abfa4f987913fe5bf143cdcf887ba (patch)
treeab56ffe2dfba70695b379523bb9bd438e2bc22ec /llvm/utils/TableGen/InstrInfoEmitter.cpp
parenta1a6be7e6e4cb7a390f624e0538246e8d786640a (diff)
downloadbcm5719-llvm-733c82bfbf5abfa4f987913fe5bf143cdcf887ba.tar.gz
bcm5719-llvm-733c82bfbf5abfa4f987913fe5bf143cdcf887ba.zip
Expose isConvertibleToThreeAddress and isCommutable bits to the code generator.
llvm-svn: 19243
Diffstat (limited to 'llvm/utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/InstrInfoEmitter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/InstrInfoEmitter.cpp b/llvm/utils/TableGen/InstrInfoEmitter.cpp
index 69570bcdf48..113bc9839a0 100644
--- a/llvm/utils/TableGen/InstrInfoEmitter.cpp
+++ b/llvm/utils/TableGen/InstrInfoEmitter.cpp
@@ -116,6 +116,8 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
if (Inst.isLoad) OS << "|M_LOAD_FLAG";
if (Inst.isStore) OS << "|M_STORE_FLAG";
if (Inst.isTwoAddress) OS << "|M_2_ADDR_FLAG";
+ if (Inst.isConvertibleToThreeAddress) OS << "|M_CONVERTIBLE_TO_3_ADDR";
+ if (Inst.isCommutable) OS << "|M_COMMUTABLE";
if (Inst.isTerminator) OS << "|M_TERMINATOR_FLAG";
OS << ", 0";
OpenPOWER on IntegriCloud