[llvm-commits] [llvm] r51766 - /llvm/trunk/lib/VMCore/Instruction.cpp

Matthijs Kooijman matthijs at stdin.nl
Fri May 30 03:31:54 PDT 2008


Author: matthijs
Date: Fri May 30 05:31:54 2008
New Revision: 51766

URL: http://llvm.org/viewvc/llvm-project?rev=51766&view=rev
Log:
Let Instruction::getOpcodeName() return something useful for the new
insertvalue / extractvalue instructions.

Modified:
    llvm/trunk/lib/VMCore/Instruction.cpp

Modified: llvm/trunk/lib/VMCore/Instruction.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Instruction.cpp?rev=51766&r1=51765&r2=51766&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/Instruction.cpp (original)
+++ llvm/trunk/lib/VMCore/Instruction.cpp Fri May 30 05:31:54 2008
@@ -141,6 +141,8 @@
   case InsertElement:  return "insertelement";
   case ShuffleVector:  return "shufflevector";
   case GetResult:      return "getresult";
+  case ExtractValue:   return "extractvalue";
+  case InsertValue:    return "insertvalue";
 
   default: return "<Invalid operator> ";
   }





More information about the llvm-commits mailing list