summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit45e5239008727ec558dffd679ab42154474eab1d (patch)
tree2ebec0337859530a98be5ce5dbc9bfd43834f3a3 /llvm/lib/VMCore/Instruction.cpp
parent10fbf0e02fe996a7503333c5929a19920729b65a (diff)
downloadbcm5719-llvm-45e5239008727ec558dffd679ab42154474eab1d.tar.gz
bcm5719-llvm-45e5239008727ec558dffd679ab42154474eab1d.zip
Allow the ICmp and FCmp instructions to be written by the AsmWriter
llvm-svn: 32148
Diffstat (limited to 'llvm/lib/VMCore/Instruction.cpp')
-rw-r--r--llvm/lib/VMCore/Instruction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp
index 5c741f7b874..d3d2f342ca6 100644
--- a/llvm/lib/VMCore/Instruction.cpp
+++ b/llvm/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";
OpenPOWER on IntegriCloud