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 | 12fce7751b37c4f4cf3668342a568afe98fa7d87 (patch) | |
tree | f36fa2fa040a8ee15b616670933e3b0014ce1698 /llvm/lib/CodeGen/SelectionDAG | |
parent | f52c8044eacdd51c88ccbced7ab9f47d2f6f3537 (diff) | |
download | bcm5719-llvm-12fce7751b37c4f4cf3668342a568afe98fa7d87.tar.gz bcm5719-llvm-12fce7751b37c4f4cf3668342a568afe98fa7d87.zip |
IR support for extractvalue and insertvalue instructions. Also, begin
moving toward making structs and arrays first-class types.
llvm-svn: 51157
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 4998613fc92..4a4a52c7b00 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/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)); |