llvm/test/Assembler
Duncan Sands 4a544a79bd Split the init.trampoline intrinsic, which currently combines GCC's
init.trampoline and adjust.trampoline intrinsics, into two intrinsics
like in GCC.  While having one combined intrinsic is tempting, it is
not natural because typically the trampoline initialization needs to
be done in one function, and the result of adjust trampoline is needed
in a different (nested) function.  To get around this llvm-gcc hacks the
nested function lowering code to insert an additional parent variable
holding the adjust.trampoline result that can be accessed from the child
function.  Dragonegg doesn't have the luxury of tweaking GCC code, so it
stored the result of adjust.trampoline in the memory GCC set aside for
the trampoline itself (this is always available in the child function),
and set up some new memory (using an alloca) to hold the trampoline.
Unfortunately this breaks Go which allocates trampoline memory on the
heap and wants to use it even after the parent has exited (!).  Rather
than doing even more hacks to get Go working, it seemed best to just use
two intrinsics like in GCC.  Patch mostly by Sanjoy Das.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139140 91177308-0d34-0410-b5e6-96231b3b80d8
2011-09-06 13:37:06 +00:00
..
2002-03-08-NameCollision2.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2002-03-08-NameCollision.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2002-04-07-HexFloatConstants.ll Use opt -S instead of piping bitcode output through llvm-dis. 2009-09-08 22:34:10 +00:00
2002-04-07-InfConstant.ll Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
2002-04-29-NameBinding.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2002-05-02-InvalidForwardRef.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2002-07-14-OpaqueType.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-07-25-QuoteInString.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-07-25-ReturnPtrFunction.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
2002-07-31-SlashInString.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-08-15-CastAmbiguity.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2002-08-15-ConstantExprProblem.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2002-08-15-UnresolvedGlobalReference.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2002-08-16-ConstExprInlined.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-08-19-BytecodeReader.ll Fix this test to test what it was originally intended to test. 2009-09-11 18:16:43 +00:00
2002-08-22-DominanceProblem.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2002-10-08-LargeArrayPerformance.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2002-10-13-ConstantEncodingProblem.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-12-15-GlobalResolve.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
2003-01-30-UnsignedString.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2003-04-15-ConstantInitAssertion.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
2003-04-25-UnresolvedGlobalReference.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2003-05-03-BytecodeReaderProblem.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2003-05-12-MinIntProblem.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2003-05-15-AssemblerProblem.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2003-05-15-SwitchBug.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2003-05-21-ConstantShiftExpr.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2003-05-21-EmptyStructTest.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2003-05-21-MalformedShiftCrash.ll implement .ll and .bc support for nsw/nuw on shl and exact on lshr/ashr. 2011-02-07 16:40:21 +00:00
2003-05-21-MalformedStructCrash.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
2003-06-17-InvokeDisassemble.ll Update to the new EH scheme. 2011-08-25 23:48:37 +00:00
2003-08-20-ConstantExprGEP-Fold.ll fix test to not get a moduleid that matches 'br' 2009-09-11 16:47:41 +00:00
2003-08-21-ConstantExprCast-Fold.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2003-11-05-ConstantExprShift.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2003-11-11-ImplicitRename.ll For all RUN lines starting with "not", redirect stderr to /dev/null so tests 2008-06-10 12:57:32 +00:00
2003-11-12-ConstantExprCast.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2003-11-24-SymbolTableCrash.ll Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
2004-01-11-getelementptrfolding.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2004-01-20-MaxLongLong.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2004-02-01-NegativeZero.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2004-02-27-SelfUseAssertError.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2004-03-07-FunctionAddressAlignment.ll upgrade this test, which wasn't testing the right thing since llvm-upgrade came around. 2008-02-15 23:58:25 +00:00
2004-03-30-UnclosedFunctionCrash.ll Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
2004-04-04-GetElementPtrIndexTypes.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2004-06-07-VerifierBug.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2004-10-22-BCWriterUndefBug.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2004-11-28-InvalidTypeCrash.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
2005-01-03-FPConstantDisassembly.ll Removing llvm upgrade, so remove tests specific to llvm-upgrade and update the tests that used it. 2008-02-16 23:27:24 +00:00
2005-01-31-CallingAggregateFunction.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2005-05-05-OpaqueUndefValues.ll Don't spew bitcode to standard out if this test 2009-01-05 10:52:29 +00:00
2005-12-21-ZeroInitVector.ll Removing llvm upgrade, so remove tests specific to llvm-upgrade and update the tests that used it. 2008-02-16 23:27:24 +00:00
2006-09-28-CrashOnInvalid.ll Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
2006-12-09-Cast-To-Bool.ll For PR761: 2007-01-26 08:25:06 +00:00
2007-01-02-Undefined-Arg-Type.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2007-01-05-Cmp-ConstExpr.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2007-01-16-CrashOnBadCast2.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2007-01-16-CrashOnBadCast.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2007-03-18-InvalidNumberedVar.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2007-03-19-NegValue.ll For PR1319: 2007-04-15 10:07:55 +00:00
2007-04-20-AlignedLoad.ll Don't redirect stderr when it isn't needed. 2007-12-11 15:41:11 +00:00
2007-04-20-AlignedStore.ll Don't redirect stderr when it isn't needed. 2007-12-11 15:41:11 +00:00
2007-04-25-AssemblerFoldExternWeak.ll new testcase 2007-04-26 05:28:45 +00:00
2007-05-21-Escape.ll new testcase for a recent regression 2007-05-22 07:00:38 +00:00
2007-07-19-ParamAttrAmbiguity.ll For PR1553: 2007-07-19 23:13:04 +00:00
2007-08-06-AliasInvalid.ll Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
2007-09-10-AliasFwdRef.ll Fix PR1645 by resolving forward alias references. 2007-09-10 23:23:53 +00:00
2007-09-29-GC.ll Adding a collector name attribute to Function in the IR. These 2007-12-10 03:18:06 +00:00
2007-11-26-AttributeOverload.ll For all RUN lines starting with "not", redirect stderr to /dev/null so tests 2008-06-10 12:57:32 +00:00
2007-12-11-AddressSpaces.ll Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
2008-01-11-VarargAttrs.ll Two occurrences on one line count as one... 2008-01-11 21:46:24 +00:00
2008-02-18-IntPointerCrash.ll Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
2008-07-10-APInt.ll Implement PR2538 2008-07-11 00:30:06 +00:00
2008-09-02-FunctionNotes2.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2008-09-02-FunctionNotes.ll Support inreg, zext and sext as return value attributes. 2008-09-29 20:49:50 +00:00
2008-09-29-RetAttr.ll Support inreg, zext and sext as return value attributes. 2008-09-29 20:49:50 +00:00
2008-10-14-QuoteInName.ll Prevent assert when using '"' in names (via hexadecimal). 2008-10-14 23:51:43 +00:00
2009-02-01-UnnamedForwardRef.ll Fix PR3372 2009-02-02 07:24:28 +00:00
2009-02-28-CastOpc.ll Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
2009-02-28-StripOpaqueName.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2009-03-24-ZextConstantExpr.ll Fix a bug in our autoupgrade support: in an argument list to a function 2009-03-25 06:36:36 +00:00
2009-04-25-AliasGEP.ll testcase and asmparser fix for PR4066 2009-04-25 21:26:00 +00:00
2009-07-24-ZeroArgGEP.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2010-02-05-FunctionLocalMetadataBecomesNull.ll Function-local metadata whose operands had been optimized to no longer refer to function-local IR were not getting written by BitcodeWriter; solution is for these metadata to be enumerated just like global metadata. 2010-02-06 01:21:09 +00:00
aggregate-constant-values.ll Re-apply 52002, allowing the verifier to accept non-MRV struct return 2008-06-09 21:26:13 +00:00
aggregate-return-single-value.ll Remove some support for ReturnInsts with multiple operands, and for 2011-04-04 07:44:02 +00:00
align-inst-alloca.ll Define a maximum supported alignment value for load, store, and 2010-07-28 20:12:04 +00:00
align-inst-load.ll Define a maximum supported alignment value for load, store, and 2010-07-28 20:12:04 +00:00
align-inst-store.ll Define a maximum supported alignment value for load, store, and 2010-07-28 20:12:04 +00:00
align-inst.ll Make GlobalValue alignment consistent with load, store, and alloca 2010-07-28 20:56:48 +00:00
alignstack.ll Adjust testcases for msasm -> alignstack. 2009-10-21 23:29:12 +00:00
anon-functions.ll Fix spacing. 2009-09-06 00:00:13 +00:00
atomic.ll Move "atomic" and "volatile" designations on instructions after the opcode 2011-08-12 22:50:01 +00:00
AutoUpgradeIntrinsics.ll Split the init.trampoline intrinsic, which currently combines GCC's 2011-09-06 13:37:06 +00:00
bcwrap.ll Fix g++-4.4.0 warning, it was causing llvm-nm to fail on wrapped BC files: 2009-04-25 10:25:12 +00:00
comment.ll Reapply: Add type output to llvm-dis annotations. Patch by Yuri! 2011-03-17 19:50:04 +00:00
ConstantExprFold.ll Clean up the usage of evaluateICmpRelation's return value. 2009-09-20 04:27:06 +00:00
ConstantExprFoldCast.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
dg.exp sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
extractvalue-invalid-idx.ll Fix PR 4170 by having ExtractValueInst::getIndexedType() reject out-of-bounds indexing. 2010-12-05 20:50:26 +00:00
flags.ll implement .ll and .bc support for nsw/nuw on shl and exact on lshr/ashr. 2011-02-07 16:40:21 +00:00
functionlocal-metadata.ll Fix (and test) function-local metadata that occurs before the instruction that it refers to; fix is to not enumerate operands of function-local metadata until after all instructions have been enumerated 2010-02-04 01:13:08 +00:00
getelementptr_struct.ll Any size of integral indices are allowed in gep for indexing into sequential types. Also adding a test case to check the indices type allowed into struct. 2009-04-26 17:14:35 +00:00
getelementptr.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
huge-array.ll Don't silently truncate array extents to 32 bits. 2008-05-23 21:40:55 +00:00
insertextractvalue.ll fix PR4963: folding insertvalue would sometimes turn a packed struct into 2009-09-15 06:28:12 +00:00
insertvalue-invalid-idx.ll Fix PR 4170 by having ExtractValueInst::getIndexedType() reject out-of-bounds indexing. 2010-12-05 20:50:26 +00:00
invalid_cast2.ll Tighten up checking of the validity of casts. (1) The IR parser would 2011-05-18 09:21:57 +00:00
invalid_cast.ll Tighten up checking of the validity of casts. (1) The IR parser would 2011-05-18 09:21:57 +00:00
metadata.ll add newlines at the end of files. 2010-04-07 22:53:17 +00:00
MultipleReturnValueType.ll Teach llvm-as to accept function types with multiple return types. 2008-04-19 00:24:39 +00:00
named-metadata.ll Add testcase for r133050 which added support for printing and parsing escaped 2011-06-16 17:14:38 +00:00
numbered-values.ll Add support for parsing .ll files that have numbers in front of 2008-08-29 17:12:13 +00:00
select.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
unnamed-addr.ll Move unnamed_addr after the function arguments on Sabre's request. 2011-01-25 19:09:56 +00:00
unnamed.ll Various AsmWriter output cleanups. Use WriteAsOperand instead of 2009-08-13 01:36:44 +00:00
vbool-cmp.ll Extend the vcmp/fcmp LLVM IR instructions to take vectors as arguments 2008-09-09 01:02:47 +00:00
vector-cmp.ll Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
vector-select.ll Re-enables the new vector select in the bitcode reader, by modifying the 2008-09-16 01:01:33 +00:00
vector-shift.ll Apply a patch by Micah Villmow to fix AsmParser to accept vector 2009-03-14 17:09:17 +00:00
x86mmx.ll Basic smoke test for new x86mmx type. 2010-09-13 21:01:36 +00:00