projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37a6134
)
Let Instruction::getOpcodeName() return something useful for the new
author
Matthijs Kooijman
<matthijs@stdin.nl>
Fri, 30 May 2008 10:31:54 +0000
(10:31 +0000)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Fri, 30 May 2008 10:31:54 +0000
(10:31 +0000)
insertvalue / extractvalue instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51766
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Instruction.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Instruction.cpp
b/lib/VMCore/Instruction.cpp
index 3330847c7acd070b7787f99336f1a684be3017cf..1fe7a2cc8b147e11d9951d0559352207c340ec35 100644
(file)
--- a/
lib/VMCore/Instruction.cpp
+++ b/
lib/VMCore/Instruction.cpp
@@
-141,6
+141,8
@@
const char *Instruction::getOpcodeName(unsigned OpCode) {
case InsertElement: return "insertelement";
case ShuffleVector: return "shufflevector";
case GetResult: return "getresult";
+ case ExtractValue: return "extractvalue";
+ case InsertValue: return "insertvalue";
default: return "<Invalid operator> ";
}