llvm/test/Assembler
Dan Gohman fb2bbbe786 Re-enables the new vector select in the bitcode reader, by modifying the
bitcode reader/writer as follows:

- add and use new bitcode FUNC_CODE_INST_VSELECT to handle the llvm
select opcode using either i1 or [N x i1] as the selector.
- retain old BITCODE FUNC_CODE_INST_SELECT in the bitcode reader to
handle select on i1 for backwards compatibility with existing bitcode
files.
- re-enable the vector-select.ll test program.

Also, rename the recently added bitcode opcode FUNC_CODE_INST_VCMP to
FUNC_CODE_INST_CMP2 and make the bitcode writer use it to handle
fcmp/icmp on scalars or vectors. In the bitcode writer, use
FUNC_CODE_INST_CMP for vfcmp/vicmp only. In the bitcode reader, have
FUNC_CODE_INST_CMP handle icmp/fcmp returning bool, for backwards
compatibility with existing bitcode files.

Patch by Preston Gurd!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56233 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-16 01:01:33 +00:00
..
2002-01-24-BadSymbolTableAssert.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-01-24-ValueRefineAbsType.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-02-19-TypeParsing.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-03-08-NameCollision2.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-03-08-NameCollision.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-04-04-PureVirtMethCall2.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-04-04-PureVirtMethCall.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-04-05-TypeParsing.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-04-07-HexFloatConstants.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-04-07-InfConstant.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-04-29-NameBinding.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-05-02-InvalidForwardRef.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-05-02-ParseError.ll
2002-07-08-HugePerformanceProblem.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-07-14-InternalLossage.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-07-14-OpaqueType.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-07-25-ParserAssertionFailure.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-07-25-QuoteInString.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-07-25-ReturnPtrFunction.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-07-31-SlashInString.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-08-15-CastAmbiguity.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-08-15-ConstantExprProblem.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-08-15-UnresolvedGlobalReference.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-08-16-ConstExprInlined.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-08-19-BytecodeReader.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-08-22-DominanceProblem.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-10-08-LargeArrayPerformance.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-10-13-ConstantEncodingProblem.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2002-10-15-NameClash.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2002-12-15-GlobalResolve.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2003-01-30-UnsignedString.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2003-04-15-ConstantInitAssertion.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2003-04-25-UnresolvedGlobalReference.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +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 Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2003-05-15-SwitchBug.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2003-05-21-ConstantShiftExpr.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2003-05-21-EmptyStructTest.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2003-05-21-MalformedShiftCrash.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2003-05-21-MalformedStructCrash.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2003-06-17-InvokeDisassemble.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2003-06-30-RecursiveTypeProblem.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2003-08-20-ConstantExprGEP-Fold.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2003-08-21-ConstantExprCast-Fold.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2003-10-04-NotMergingGlobalConstants.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +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 rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2003-12-30-TypeMapInvalidMemory.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +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 Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +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 rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2004-04-04-GetElementPtrIndexTypes.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2004-06-07-VerifierBug.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +00:00
2004-09-29-VerifierIsReallySlow.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2004-10-22-BCWriterUndefBug.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2004-11-28-InvalidTypeCrash.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +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 Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2005-02-09-AsmWriterStoreBug.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-05-05-OpaqueUndefValues.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-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-05-26-VarargsCallEncode.ll Fix the AsmWriter to not print extra spaces after parameter attributes. 2008-08-05 15:51:44 +00:00
2006-09-28-CrashOnInvalid.ll Fix bug in regression tests that ignored stderr output in RUN lines. Updated tests and fixed broken run lines. 2007-11-28 04:57:00 +00:00
2006-12-09-Cast-To-Bool.ll
2007-01-02-Undefined-Arg-Type.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2007-01-05-Cmp-ConstExpr.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2007-01-16-CrashOnBadCast2.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2007-01-16-CrashOnBadCast.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2007-03-18-InvalidNumberedVar.ll Fix bug in regression tests that ignored stderr output in RUN lines. Updated tests and fixed broken run lines. 2007-11-28 04:57:00 +00:00
2007-03-19-NegValue.ll
2007-04-15-BadIntrinsic.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +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
2007-05-21-Escape.ll
2007-07-19-ParamAttrAmbiguity.ll
2007-07-30-AutoUpgradeZextSext.ll For PR1553: 2007-07-31 02:57:37 +00:00
2007-08-06-AliasInvalid.ll Fix bug in regression tests that ignored stderr output in RUN lines. Updated tests and fixed broken run lines. 2007-11-28 04:57:00 +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-11-27-AutoUpgradeAttributes.ll Fix PR1146: parameter attributes are longer part of 2007-11-27 13:23:08 +00:00
2007-12-11-AddressSpaces.ll Don't redirect stderr when it isn't needed. 2007-12-14 15:15:11 +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 Fix PR2060 by rejecting invalid types for integer constants. 2008-02-19 04:36:07 +00:00
2008-02-20-MultipleReturnValue.ll Update bitcode reader and writer to handle multiple return values. 2008-02-26 01:29:32 +00:00
2008-07-10-APInt.ll Implement PR2538 2008-07-11 00:30:06 +00:00
2008-09-02-FunctionNotes2.ll Function notes tests. 2008-09-02 20:58:16 +00:00
2008-09-02-FunctionNotes.ll Read and write function notes. 2008-09-02 21:47:13 +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 Re-apply 52002, allowing the verifier to accept non-MRV struct return 2008-06-09 21:26:13 +00:00
AutoUpgradeIntrinsics.ll Fix some escaping and quoting in RUN lines, mainly involving { and <. In two 2008-06-10 16:04:47 +00:00
ConstantExprFold.ll rename *.llx -> *.ll 2008-04-19 22:26:29 +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
huge-array.ll Don't silently truncate array extents to 32 bits. 2008-05-23 21:40:55 +00:00
insertextractvalue.ll nounwindify. 2008-06-03 01:21:11 +00:00
MultipleReturnValueType.ll Teach llvm-as to accept function types with multiple return types. 2008-04-19 00:24:39 +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 Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +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 Fix a bunch of bugs handling vector compare constant expressions, fixing 2008-07-14 05:17:31 +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 Add vector shifts to the IR, patch by Eli Friedman. 2008-07-29 15:49:41 +00:00