Enable first-class aggregates support.
authorDan Gohman <gohman@apple.com>
Wed, 23 Jul 2008 00:34:11 +0000 (00:34 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 23 Jul 2008 00:34:11 +0000 (00:34 +0000)
commitfc74abfba5128544a750fce22fdf13eb0403e3ce
tree36ed972103bbbb170370e4e6688787ed5f1f9ac8
parent5e6ebaf4d1d3043d3428b65ee8054c71c24af930
Enable first-class aggregates support.

Remove the GetResultInst instruction. It is still accepted in LLVM assembly
and bitcode, where it is now auto-upgraded to ExtractValueInst. Also, remove
support for return instructions with multiple values. These are auto-upgraded
to use InsertValueInst instructions.

The IRBuilder still accepts multiple-value returns, and auto-upgrades them
to InsertValueInst instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53941 91177308-0d34-0410-b5e6-96231b3b80d8
29 files changed:
include/llvm/AutoUpgrade.h
include/llvm/Bitcode/LLVMBitCodes.h
include/llvm/InstrTypes.h
include/llvm/Instruction.def
include/llvm/Instructions.h
include/llvm/Support/IRBuilder.h
include/llvm/Support/InstVisitor.h
lib/AsmParser/LLLexer.cpp
lib/AsmParser/llvmAsmParser.y
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Target/CBackend/CBackend.cpp
lib/Transforms/IPO/IPConstantPropagation.cpp
lib/Transforms/IPO/StructRetPromotion.cpp
lib/Transforms/Scalar/InstructionCombining.cpp
lib/Transforms/Scalar/JumpThreading.cpp
lib/Transforms/Scalar/LoopRotation.cpp
lib/Transforms/Scalar/SCCP.cpp
lib/Transforms/Utils/InlineFunction.cpp
lib/Transforms/Utils/LCSSA.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
lib/VMCore/AsmWriter.cpp
lib/VMCore/AutoUpgrade.cpp
lib/VMCore/Instruction.cpp
lib/VMCore/Instructions.cpp
lib/VMCore/Verifier.cpp
test/Transforms/SCCP/2008-03-10-sret.ll