Fix PR1146: parameter attributes are longer part of
authorDuncan Sands <baldrick@free.fr>
Tue, 27 Nov 2007 13:23:08 +0000 (13:23 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 27 Nov 2007 13:23:08 +0000 (13:23 +0000)
commitdc024674ff96820d6020757b48d47f46d4c07db2
tree843dfcaeb8f6c99de930a32020148b563005c2fd
parentf19341dec7361451f100a882a023b14583454d7e
Fix PR1146: parameter attributes are longer part of
the function type, instead they belong to functions
and function calls.  This is an updated and slightly
corrected version of Reid Spencer's original patch.
The only known problem is that auto-upgrading of
bitcode files doesn't seem to work properly (see
test/Bitcode/AutoUpgradeIntrinsics.ll).  Hopefully
a bitcode guru (who might that be? :) ) will fix it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44359 91177308-0d34-0410-b5e6-96231b3b80d8
51 files changed:
docs/LangRef.html
include/llvm/DerivedTypes.h
include/llvm/Function.h
include/llvm/Instructions.h
include/llvm/ParameterAttributes.h
include/llvm/Support/CallSite.h
lib/Analysis/BasicAliasAnalysis.cpp
lib/AsmParser/llvmAsmParser.cpp.cvs
lib/AsmParser/llvmAsmParser.h.cvs
lib/AsmParser/llvmAsmParser.y
lib/AsmParser/llvmAsmParser.y.cvs
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/Bitcode/Writer/ValueEnumerator.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Linker/LinkModules.cpp
lib/Target/CBackend/CBackend.cpp
lib/Target/MSIL/MSILWriter.cpp
lib/Target/X86/X86AsmPrinter.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Transforms/IPO/ArgumentPromotion.cpp
lib/Transforms/IPO/DeadArgumentElimination.cpp
lib/Transforms/IPO/ExtractFunction.cpp
lib/Transforms/IPO/LowerSetJmp.cpp
lib/Transforms/IPO/PruneEH.cpp
lib/Transforms/Scalar/InstructionCombining.cpp
lib/Transforms/Scalar/LowerGC.cpp
lib/Transforms/Scalar/SimplifyCFG.cpp
lib/Transforms/Utils/CloneFunction.cpp
lib/Transforms/Utils/CloneModule.cpp
lib/Transforms/Utils/InlineFunction.cpp
lib/Transforms/Utils/LowerInvoke.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
lib/VMCore/AsmWriter.cpp
lib/VMCore/AutoUpgrade.cpp
lib/VMCore/Function.cpp
lib/VMCore/Instructions.cpp
lib/VMCore/Type.cpp
lib/VMCore/Verifier.cpp
test/Assembler/2006-05-26-VarargsCallEncode.ll
test/Assembler/2007-02-07-UpgradeCSRETCC.ll
test/Assembler/2007-11-26-AttributeOverload.ll [new file with mode: 0644]
test/Assembler/2007-11-27-AutoUpgradeAttributes.ll [new file with mode: 0644]
test/Feature/paramattrs.ll
test/Integer/paramattrs_bt.ll
test/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll
tools/llvm-upgrade/UpgradeParser.cpp.cvs
tools/llvm-upgrade/UpgradeParser.h.cvs
tools/llvm-upgrade/UpgradeParser.y
tools/llvm-upgrade/UpgradeParser.y.cvs
tools/llvm2cpp/CppWriter.cpp