aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Bocchino <bocchino@illinois.edu>2006-01-17 20:06:42 +0000
committerRobert Bocchino <bocchino@illinois.edu>2006-01-17 20:06:42 +0000
commit4eb2e3a6f45e6f0a4a8f0002918f8d14c34169c1 (patch)
tree0b9a7138b8aba6fbf6e7052f59569db5e4f3a77b
parentb1f240b8efb6eb54cfa9f003e11a25d0a3eddb75 (diff)
downloadexternal_llvm-4eb2e3a6f45e6f0a4a8f0002918f8d14c34169c1.zip
external_llvm-4eb2e3a6f45e6f0a4a8f0002918f8d14c34169c1.tar.gz
external_llvm-4eb2e3a6f45e6f0a4a8f0002918f8d14c34169c1.tar.bz2
Support for the insertelement operation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25405 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Support/InstVisitor.h1
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h
index 9f888cb..e48b3ff 100644
--- a/include/llvm/Support/InstVisitor.h
+++ b/include/llvm/Support/InstVisitor.h
@@ -176,6 +176,7 @@ public:
RetTy visitShiftInst(ShiftInst &I) { DELEGATE(Instruction); }
RetTy visitVAArgInst(VAArgInst &I) { DELEGATE(Instruction); }
RetTy visitExtractElementInst(ExtractElementInst &I) { DELEGATE(Instruction); }
+ RetTy visitInsertElementInst(InsertElementInst &I) { DELEGATE(Instruction); }
// Next level propagators... if the user does not overload a specific
// instruction type, they can overload one of these to get the whole class
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index cd4250b..f3e2546 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -389,6 +389,7 @@ public:
// These all get lowered before this pass.
void visitExtractElement(ExtractElementInst &I) { assert(0 && "TODO"); }
+ void visitInsertElement(InsertElementInst &I) { assert(0 && "TODO"); }
void visitSwitch(SwitchInst &I) { assert(0 && "TODO"); }
void visitInvoke(InvokeInst &I) { assert(0 && "TODO"); }
void visitUnwind(UnwindInst &I) { assert(0 && "TODO"); }