diff options
author | Dan Gohman <gohman@apple.com> | 2008-05-15 19:50:34 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-05-15 19:50:34 +0000 |
commit | 041e2eb51721bcfecee5d9c9fc409ff185526e47 (patch) | |
tree | bb8e3b74ffb3950147e74e621ffa5e8f14040cd2 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | d208a803a614a0ce6d5a8c6df045fd130f5dfed7 (diff) |
IR support for extractvalue and insertvalue instructions. Also, begin
moving toward making structs and arrays first-class types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 4998613fc9..4a4a52c7b0 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -703,6 +703,9 @@ public: void visitInsertElement(User &I); void visitShuffleVector(User &I); + void visitExtractValue(User &I); + void visitInsertValue(User &I); + void visitGetElementPtr(User &I); void visitSelect(User &I); @@ -2555,6 +2558,16 @@ void SelectionDAGLowering::visitShuffleVector(User &I) { V1, V2, Mask)); } +void SelectionDAGLowering::visitInsertValue(User &I) { + assert(0 && "insertvalue instruction not implemented"); + abort(); +} + +void SelectionDAGLowering::visitExtractValue(User &I) { + assert(0 && "extractvalue instruction not implemented"); + abort(); +} + void SelectionDAGLowering::visitGetElementPtr(User &I) { SDOperand N = getValue(I.getOperand(0)); |