summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Instruction.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2008-05-12 19:01:56 +0000
committerNate Begeman <natebegeman@mac.com>2008-05-12 19:01:56 +0000
commitd21957002abf708f2270887a16a180c6815a8e37 (patch)
tree9acc4302d3559197e63df6641699980823f19c67 /llvm/lib/VMCore/Instruction.cpp
parentc9c296d235212e0ea2f695d031ed6fb109c37f4a (diff)
downloadbcm5719-llvm-d21957002abf708f2270887a16a180c6815a8e37.tar.gz
bcm5719-llvm-d21957002abf708f2270887a16a180c6815a8e37.zip
Add two new instructions to the llvm IR, vicmp and vfcmp. see updated LangRef
for details. CodeGen support coming in a follow up patch llvm-svn: 50985
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 2316b486898..3330847c7ac 100644
--- a/llvm/lib/VMCore/Instruction.cpp
+++ b/llvm/lib/VMCore/Instruction.cpp
@@ -128,6 +128,8 @@ const char *Instruction::getOpcodeName(unsigned OpCode) {
// Other instructions...
case ICmp: return "icmp";
case FCmp: return "fcmp";
+ case VICmp: return "vicmp";
+ case VFCmp: return "vfcmp";
case PHI: return "phi";
case Select: return "select";
case Call: return "call";
OpenPOWER on IntegriCloud