aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Instruction.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-03 06:27:29 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-03 06:27:29 +0000
commit74f1642bc1c2981e4573c9f0690d91b6a9bbc68c (patch)
tree820bd2664a87feee6f083976808b5357aacca77a /lib/VMCore/Instruction.cpp
parent728b6db6fbd3caee7fa25b377f4592160476bb9c (diff)
Allow the ICmp and FCmp instructions to be written by the AsmWriter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32148 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Instruction.cpp')
-rw-r--r--lib/VMCore/Instruction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp
index 5c741f7b87..d3d2f342ca 100644
--- a/lib/VMCore/Instruction.cpp
+++ b/lib/VMCore/Instruction.cpp
@@ -137,6 +137,8 @@ const char *Instruction::getOpcodeName(unsigned OpCode) {
case BitCast: return "bitcast";
// Other instructions...
+ case ICmp: return "icmp";
+ case FCmp: return "fcmp";
case PHI: return "phi";
case Select: return "select";
case Call: return "call";