hanchenye-llvm-project/clang/test/CodeGen
James Molloy 90d6101410 Use store size instead of alloc size when coercing.
Previously, EnterStructPointerForCoercedAccess used Alloc size when determining how to convert. This was problematic, because there were situations were the alloc size was larger than the store size. For example, if the first element of a structure were i24 and the destination type were i32, the old code would generate a GEP and a load i24. The code should compare store sizes to ensure the whole object is loaded. I have attached a test case.

This patch modifies the output of arm64-be-bitfield.c test case, but the new IR seems to be equivalent, and after -O3, the compiler generates identical ARM assembly. (asr x0, x0, #54)

Patch by Thomas Jablin!

llvm-svn: 216722
2014-08-29 10:17:52 +00:00
..
Inputs test: Give instrumentation based profiling tests their own directory 2014-03-11 04:37:49 +00:00
3dnow-builtins.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
24-bit.c Use store size instead of alloc size when coercing. 2014-08-29 10:17:52 +00:00
2002-01-23-LoadQISIReloadFailure.c
2002-01-24-ComplexSpaceInType.c
2002-01-24-HandleCallInsnSEGV.c
2002-02-13-ConditionalInCall.c
2002-02-13-ReloadProblem.c
2002-02-13-TypeVarNameCollision.c
2002-02-13-UnnamedLocal.c
2002-02-14-EntryNodePreds.c
2002-02-16-RenamingTest.c
2002-02-17-ArgumentAddress.c
2002-02-18-64bitConstant.c
2002-02-18-StaticData.c
2002-03-11-LargeCharInString.c
2002-03-12-ArrayInitialization.c
2002-03-12-StructInitialize.c
2002-03-12-StructInitializer.c
2002-03-14-BrokenPHINode.c
2002-03-14-BrokenSSA.c
2002-03-14-QuotesInStrConst.c
2002-04-07-SwitchStmt.c
2002-04-08-LocalArray.c
2002-04-09-StructRetVal.c
2002-04-10-StructParameters.c
2002-05-23-StaticValues.c
2002-05-23-TypeNameCollision.c
2002-06-25-FWriteInterfaceFailure.c
2002-07-14-MiscListTests.c
2002-07-14-MiscTests.c
2002-07-14-MiscTests2.c
2002-07-14-MiscTests3.c
2002-07-16-HardStringInit.c
2002-07-17-StringConstant.c
2002-07-30-SubregSetAssertion.c
2002-07-30-UnionTest.c
2002-07-30-VarArgsCallFailure.c
2002-07-31-BadAssert.c
2002-07-31-SubregFailure.c
2002-08-02-UnionTest.c
2002-08-19-RecursiveLocals.c
2002-09-08-PointerShifts.c
2002-09-18-UnionProblem.c
2002-09-19-StarInLabel.c
2002-10-12-TooManyArguments.c
2002-12-15-GlobalBoolTest.c
2002-12-15-GlobalConstantTest.c
2002-12-15-GlobalRedefinition.c
2002-12-15-StructParameters.c
2003-01-30-UnionInit.c
2003-03-03-DeferredType.c
2003-06-22-UnionCrash.c
2003-06-23-GCC-fold-infinite-recursion.c
2003-06-26-CFECrash.c
2003-06-29-MultipleFunctionDefinition.c
2003-07-22-ArrayAccessTypeSafety.c
2003-08-06-BuiltinSetjmpLongjmp.c Fix test in two ways: remove incorrect comment (the intrinsic generated now 2013-05-08 20:58:01 +00:00
2003-08-17-DeadCodeShortCircuit.c
2003-08-18-SigSetJmp.c
2003-08-18-StructAsValue.c
2003-08-20-BadBitfieldRef.c
2003-08-20-PrototypeMismatch.c
2003-08-20-vfork-bug.c
2003-08-21-BinOp-Type-Mismatch.c
2003-08-21-StmtExpr.c
2003-08-21-WideString.c Delete support for AuroraUX. 2014-08-14 15:14:51 +00:00
2003-08-23-LocalUnionTest.c
2003-08-29-BitFieldStruct.c
2003-08-29-HugeCharConst.c
2003-08-29-StructLayoutBug.c
2003-08-30-AggregateInitializer.c
2003-08-30-LargeIntegerBitfieldMember.c
2003-09-18-BitfieldTests.c
2003-09-30-StructLayout.c
2003-10-02-UnionLValueError.c
2003-10-06-NegateExprType.c
2003-10-09-UnionInitializerBug.c
2003-10-28-ident.c
2003-10-29-AsmRename.c
2003-11-01-C99-CompoundLiteral.c
2003-11-01-EmptyStructCrash.c
2003-11-01-GlobalUnionInit.c
2003-11-03-AddrArrayElement.c
2003-11-04-EmptyStruct.c
2003-11-04-OutOfMemory.c
2003-11-08-PointerSubNotGetelementptr.c
2003-11-12-VoidString.c
2003-11-13-TypeSafety.c
2003-11-16-StaticArrayInit.c
2003-11-18-CondExprLValue.c
2003-11-19-AddressOfRegister.c
2003-11-19-BitFieldArray.c
2003-11-20-Bitfields.c
2003-11-20-ComplexDivision.c
2003-11-20-UnionBitfield.c
2003-11-26-PointerShift.c
2003-11-27-ConstructorCast.c
2003-11-27-UnionCtorInitialization.c
2003-12-14-ExternInlineSupport.c
2004-01-01-UnknownInitSize.c
2004-01-08-ExternInlineRedefine.c
2004-02-12-LargeAggregateCopy.c
2004-02-13-BuiltinFrameReturnAddress.c
2004-02-13-IllegalVararg.c
2004-02-13-Memset.c
2004-02-14-ZeroInitializer.c
2004-02-20-Builtins.c
2004-03-07-ComplexDivEquals.c
2004-03-07-ExternalConstant.c
2004-03-09-LargeArrayInitializers.c
2004-03-15-SimpleIndirectGoto.c
2004-03-16-AsmRegisterCrash.c
2004-05-07-VarArrays.c
2004-05-21-IncompleteEnum.c
2004-06-08-OpaqueStructArg.c
2004-06-17-UnorderedBuiltins.c
2004-06-17-UnorderedCompares.c
2004-06-18-VariableLengthArrayOfStructures.c
2004-07-06-FunctionCast.c
2004-08-06-LargeStructTest.c
2004-11-25-UnnamedBitfieldPadding.c
2004-11-27-StaticFunctionRedeclare.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
2005-01-02-ConstantInits.c
2005-01-02-PointerDifference.c
2005-01-02-VAArgError-ICE.c
2005-02-20-AggregateSAVEEXPR.c
2005-02-27-MarkGlobalConstant.c
2005-03-05-OffsetOfHack.c
2005-03-06-OffsetOfStructCrash.c
2005-03-11-Prefetch.c
2005-04-09-ComplexOps.c
2005-05-10-GlobalUnionInit.c
2005-06-15-ExpandGotoInternalProblem.c
2005-07-20-SqrtNoErrno.c
2005-07-26-UnionInitCrash.c
2005-07-28-IncorrectWeakGlobal.c
2005-09-20-ComplexConstants.c
2005-09-24-AsmUserPrefix.c
2005-09-24-BitFieldCrash.c
2005-12-04-AttributeUsed.c
2005-12-04-DeclarationLineNumbers.c
2006-01-13-Includes.c
2006-01-13-StackSave.c clang/test/CodeGen/2006-01-13-StackSave.c: Nuke llvm's opt and llvm-dis, and FileCheck-ize. 2013-01-22 01:51:54 +00:00
2006-01-16-BitCountIntrinsicsUnsigned.c
2006-01-23-FileScopeAsm.c
2006-03-03-MissingInitializer.c
2006-03-16-VectorCtor.c
2006-03-17-KnRMismatch.c
2006-05-19-SingleEltReturn.c
2006-07-31-PR854.c
2006-09-11-BitfieldRefCrash.c
2006-09-18-fwrite-cast-crash.c
2006-09-21-IncompleteElementType.c
2006-09-25-DebugFilename.c
2006-09-25-DebugFilename.h
2006-09-28-SimpleAsm.c
2006-10-30-ArrayCrash.c
2006-12-14-ordered_expr.c
2007-01-06-KNR-Proto.c
2007-01-20-VectorICE.c
2007-01-24-InlineAsmCModifier.c
2007-02-04-AddrLValue-2.c
2007-02-04-AddrLValue.c
2007-02-04-EmptyStruct.c
2007-02-07-AddrLabel.c
2007-02-16-VoidPtrDiff.c
2007-02-25-C-DotDotDot.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
2007-03-01-VarSizeArrayIdx.c
2007-03-26-BitfieldAfterZeroWidth.c
2007-03-26-ZeroWidthBitfield.c
2007-03-27-VarLengthArray.c
2007-04-05-PackedBitFields-2.c
2007-04-05-PackedBitFields.c
2007-04-05-PackedStruct.c
2007-04-05-PadBeforeZeroLengthField.c
2007-04-05-UnPackedStruct.c
2007-04-11-InlineAsmStruct.c
2007-04-11-InlineAsmUnion.c
2007-04-11-PR1321.c
2007-04-13-InlineAsmStruct2.c
2007-04-13-InlineAsmUnion2.c
2007-04-14-FNoBuiltin.c FileCheckize 2013-10-26 15:43:55 +00:00
2007-04-17-ZeroSizeBitFields.c
2007-04-24-VolatileStructCopy.c
2007-04-24-bit-not-expr.c
2007-04-24-str-const.c
2007-05-07-PaddingElements.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
2007-05-08-PCH.c
2007-05-11-str-const.c
2007-05-15-PaddingElement.c
2007-05-16-EmptyStruct.c
2007-05-29-UnionCopy.c
2007-06-05-NoInlineAttribute.c
2007-06-15-AnnotateAttribute.c
2007-06-18-SextAttrAggregate.c Quick fix to test/CodeGen/2007-06-18-SextAttrAggregate.c for x86_64-mingw32, corresponding to r216507. 2014-08-27 16:22:26 +00:00
2007-07-29-RestrictPtrArg.c
2007-08-01-LoadStoreAlign.c
2007-08-21-ComplexCst.c
2007-08-22-CTTZ.c
2007-09-05-ConstCtor.c
2007-09-12-PragmaPack.c
2007-09-14-NegatePointer.c
2007-09-17-WeakRef.c
2007-09-26-Alignment.c
2007-09-27-ComplexIntCompare.c
2007-09-28-PackedUnionMember.c
2007-10-02-VolatileArray.c
2007-10-15-VoidPtr.c
2007-10-30-Volatile.c
2007-11-07-AlignedMemcpy.c
2007-11-07-CopyAggregateAlign.c
2007-11-07-ZeroAggregateAlign.c
2007-11-28-GlobalInitializer.c
2007-11-29-ArraySizeFromInitializer.c
2007-12-16-AsmNoUnwind.c
2008-01-04-WideBitfield.c
2008-01-07-UnusualIntSize.c
2008-01-21-PackedBitFields.c
2008-01-21-PackedStructField.c
2008-01-24-StructAlignAndBitFields.c
2008-01-25-ByValReadNone.c [mips] Remove XFAIL. 2013-10-08 19:08:54 +00:00
2008-01-25-ZeroSizedAggregate.c
2008-01-28-PragmaMark.c
2008-01-28-UnionSize.c
2008-02-07-bitfield-bug.c
2008-02-08-bitfield-bug.c
2008-02-26-inline-asm-bug.c
2008-03-03-CtorAttrType.c
2008-03-05-syncPtr.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
2008-03-24-BitField-And-Alloca.c Use a clang -cc1 option instead of -m32 and remove tcl quotes. 2013-07-04 14:36:22 +00:00
2008-03-26-PackedBitFields.c
2008-04-08-NoExceptions.c Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
2008-05-06-CFECrash.c
2008-05-12-TempUsedBeforeDef.c
2008-05-19-AlwaysInline.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
2008-07-17-no-emit-on-error.c
2008-07-21-mixed-var-fn-decl.c
2008-07-22-bitfield-init-after-zero-len-array.c
2008-07-22-packed-bitfield-access.c
2008-07-29-override-alias-decl.c
2008-07-30-implicit-initialization.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
2008-07-30-redef-of-bitcasted-decl.c
2008-07-31-asm-labels.c Replace 'grep foo | count 0' with 'not grep foo'. 2013-07-04 15:22:16 +00:00
2008-07-31-promotion-of-compound-pointer-arithmetic.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
2008-08-04-void-pointer-arithmetic.c
2008-08-07-AlignPadding1.c
2008-08-07-AlignPadding2.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
2008-08-07-GEPIntToPtr.c
2008-08-19-cast-of-typedef.c
2008-09-03-WeakAlias.c
2008-09-22-bad-switch-type.c
2008-10-13-FrontendCrash.c
2008-10-30-ZeroPlacement.c
2008-11-02-WeakAlias.c
2008-11-08-InstCombineSelect.c
2008-12-23-AsmIntPointerTie.c
2009-01-05-BlockInlining.c
2009-01-21-InvalidIterator.c
2009-02-13-zerosize-union-field-ppc.c clang/test: REQUIRES: s/ppc{32|64}-registered-target/powerpc-registered-target/ 2013-12-04 03:41:15 +00:00
2009-02-13-zerosize-union-field.c
2009-03-01-MallocNoAlias.c
2009-03-08-ZeroEltStructCrash.c
2009-03-13-dbg.c
2009-03-22-increment-bitfield.c
2009-04-23-dbg.c
2009-04-28-UnionArrayCrash.c
2009-05-04-EnumInreg.c
2009-05-22-callingconv.c
2009-05-28-const-typedef.c
2009-06-01-addrofknr.c
2009-06-14-HighlyAligned.c
2009-06-14-anonymous-union-init.c
2009-06-18-StaticInitTailPadPack.c
2009-07-14-VoidPtr.c
2009-07-15-pad-wchar_t-array.c Delete support for AuroraUX. 2014-08-14 15:14:51 +00:00
2009-07-22-StructLayout.c
2009-07-31-DbgDeclare.c
2009-08-14-vararray-crash.c
2009-09-24-SqrtErrno.c
2009-10-20-GlobalDebug.c Generalize DebugInfo tests by avoiding explicit metadata numbers 2013-02-02 00:34:26 +00:00
2009-12-07-BitFieldAlignment.c
2010-01-13-MemBarrier.c This test is passing on SPARC. 2014-01-14 06:19:29 +00:00
2010-01-14-FnType-DebugInfo.c
2010-01-18-Inlined-Debug.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
2010-02-10-PointerName.c FileCheck-ify some clang grep tests that use double quotes 2013-04-10 21:10:39 +00:00
2010-02-15-DbgStaticVar.c
2010-02-16-DbgScopes.c PR14566: Debug Info: avoid top level lexical blocks in functions 2013-01-26 22:16:26 +00:00
2010-02-18-Dbg-VectorType.c
2010-03-5-LexicalScope.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
2010-03-09-DbgInfo.c
2010-05-26-AsmSideEffect.c
2010-06-11-SaveExpr.c
2010-06-17-asmcrash.c Accept -no-integrated-as in -cc1 and forward it to llvm. 2014-02-21 03:14:07 +00:00
2010-07-08-DeclDebugLineNo.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
2010-07-14-overconservative-align.c
2010-07-14-ref-off-end.c
2010-08-10-DbgConstant.c
2010-08-12-asm-aggr-arg.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
2010-12-01-CommonGlobal.c
2011-02-21-DATA-common.c
2011-03-02-UnionInitializer.c
2011-03-08-ZeroFieldUnionInitializer.c
2011-03-31-ArrayRefFolding.c
Atomics.c IR-change: cmpxchg operations now return { iN, i1 }. 2014-06-13 14:24:59 +00:00
BasicInstrs.c
OpaqueStruct.c
PR2001-bitfield-reload.c
PR2413-void-address-cast-error.c
PR2643-null-store-to-bitfield.c
PR2743-reference-missing-static.c
PR3130-cond-constant.c
PR3589-freestanding-libcalls.c Replace 'grep foo | count 0' with 'not grep foo'. 2013-07-04 15:22:16 +00:00
PR3613-static-decl.c
PR3709-int-to-pointer-sign.c
PR4611-bitfield-layout.c Complete Rewrite of CGRecordLayoutBuilder 2014-02-21 23:49:50 +00:00
PR5060-align.c Remove unused -verify. 2013-07-04 14:51:11 +00:00
PR8880.c Fix to PR8880 (clang dies processing a for loop) 2014-01-23 15:05:00 +00:00
PR15826.c Fixed test options. 2013-07-03 01:43:57 +00:00
_Bool-conversion.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
aarch64-inline-asm.c AArch64/ARM64: update Clang after AArch64 removal. 2014-05-24 12:51:25 +00:00
aarch64-neon-2velem.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-3v.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-across.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-extract.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-fcvt-intrinsics.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-fma.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-intrinsics.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-ldst-one.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-misc.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-perm.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-scalar-copy.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-scalar-x-indexed-elem.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-shifts.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-tbl.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-vcombine.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-neon-vget-hilo.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-poly64.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-poly128.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
aarch64-type-sizes.c AArch64: use aarch64_be instead of arm64_be in all tests. 2014-07-23 12:57:31 +00:00
aarch64-varargs.c AArch64: use aarch64_be instead of arm64_be in all tests. 2014-07-23 12:57:31 +00:00
address-safety-attr.cpp [Sanitize] Don't emit function attribute sanitize_address/thread/memory if the function is blacklisted. 2013-03-06 10:54:18 +00:00
address-sanitizer-and-array-cookie.cpp call __asan_load_cxx_array_cookie when loading array cookie in asan mode. 2014-08-29 01:01:32 +00:00
address-space-cast.c
address-space-compound-literal.c
address-space-field1.c Fix testcases to not rely upon target-* attributes. 2013-02-26 23:08:48 +00:00
address-space.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
alias.c Update for llvm change. 2014-07-30 22:52:16 +00:00
align-global-large.c
align-local.c
align-param.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
align-x68_64.c Fix alignof computation of large arrays on x86_64. 2013-08-08 19:53:46 +00:00
alignment.c Correctly allign arrays on 32 bit systems. 2013-08-07 18:08:19 +00:00
alignof.c
alloca.c
altivec.c Remove some incorrect test suppressions 2014-06-30 01:34:09 +00:00
always-inline.c
always_inline.c
annotations-builtin.c
annotations-field.c
annotations-global.c
annotations-loc.c
annotations-var.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
arm-aapcs-vfp.c [ARM] Fix AAPCS regression caused by r211898 2014-07-18 09:09:31 +00:00
arm-aapcs-zerolength-bitfield.c
arm-abi-vector.c
arm-apcs-zerolength-bitfield.c
arm-arguments.c ARM: Correct alignment of structs passed as byval pointer 2014-03-12 14:02:50 +00:00
arm-asm-deprecated.c Convert tests I recently add to use -verify instead of FileCheck. 2014-06-08 21:28:54 +00:00
arm-asm-diag.c Add error checking to reject neon_vector_type attribute on targets without NEON. 2013-09-16 18:07:35 +00:00
arm-asm-variable.c
arm-asm-warn.c Add error checking to reject neon_vector_type attribute on targets without NEON. 2013-09-16 18:07:35 +00:00
arm-asm.c
arm-atomics-m.c ARM: use LLVM's atomicrmw instructions when ldrex/strex are available. 2014-07-09 09:24:43 +00:00
arm-atomics-m0.c ARM: use LLVM's atomicrmw instructions when ldrex/strex are available. 2014-07-09 09:24:43 +00:00
arm-atomics.c ARM: use LLVM's atomicrmw instructions when ldrex/strex are available. 2014-07-09 09:24:43 +00:00
arm-be-result-return.c ARMEB: Fix function result return for composite types 2014-07-03 09:28:12 +00:00
arm-byval-align.c ARM: Correct alignment of structs passed as byval pointer 2014-03-12 14:02:50 +00:00
arm-cc.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
arm-clear.c Fix __clear_cache on ARM. 2013-05-14 12:45:47 +00:00
arm-cortex-cpus.c Cortex-M3 and Cortex-M4 should not enable hwdiv-arm (committing again, with an updated test) 2014-01-29 09:43:07 +00:00
arm-crc32.c [ARMv8] Add builtins for CRC instructions. 2013-09-18 10:07:09 +00:00
arm-homogenous.c Move some ARM-specific code from CGCall.cpp to TargetInfo.cpp 2014-08-27 10:43:15 +00:00
arm-inline-asm.c
arm-interrupt-attr.c Implement ARM GNU-style interrupt attribute 2013-10-01 14:34:25 +00:00
arm-metadata.c Remove some incorrect test suppressions 2014-06-30 01:34:09 +00:00
arm-microsoft-intrinsics.c CodeGen: add support for a few MSVC ARM intrinsics 2014-07-05 20:10:05 +00:00
arm-neon-fma.c
arm-neon-misc.c
arm-neon-shifts.c Don't assume instruction names in the output. 2013-10-04 14:42:00 +00:00
arm-neon-vcvtX.c ARM NEON: add vcvtX (with rounding mode) intrinsics to v8 ARM. 2014-02-19 10:37:13 +00:00
arm-neon-vget.c ARM: Improve codegen for vget_low_* and vget_high_ intrinsics. 2013-05-15 02:40:04 +00:00
arm-pcs.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
arm-pnaclcall.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
arm-vaarg-align.c
arm-vector-align.c
arm-vector-arguments.c Update the tests. 2013-01-31 23:17:12 +00:00
arm64-aapcs-arguments.c Allow __fp16 as a function arg or return type for AArch64 2014-08-27 16:31:57 +00:00
arm64-abi-vector.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
arm64-arguments.c ARM64: Do not expand variadic HFA/HVA arguments with the Darwin ABI. 2014-04-21 01:23:39 +00:00
arm64-be-bitfield.c Use store size instead of alloc size when coercing. 2014-08-29 10:17:52 +00:00
arm64-be-hfa-vararg.c AArch64: use aarch64_be instead of arm64_be in all tests. 2014-07-23 12:57:31 +00:00
arm64-crc32.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
arm64-lanes.c AArch64: use aarch64_be instead of arm64_be in all tests. 2014-07-23 12:57:31 +00:00
arm64-scalar-test.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
arm64-vrnd.c AArch64/ARM64: rename ARM64 components to AArch64 2014-05-24 12:52:07 +00:00
arm64-vrsqrt.c AArch64/ARM64: rename ARM64 components to AArch64 2014-05-24 12:52:07 +00:00
arm64_crypto.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
arm64_neon_high_half.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
arm64_vCMP.c AArch64/ARM64: rename ARM64 components to AArch64 2014-05-24 12:52:07 +00:00
arm64_vLdStNum_lane.c AArch64/ARM64: rename ARM64 components to AArch64 2014-05-24 12:52:07 +00:00
arm64_vMaxMin.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
arm64_vadd.c AArch64/ARM64: rename ARM64 components to AArch64 2014-05-24 12:52:07 +00:00
arm64_vca.c AArch64/ARM64: rename ARM64 components to AArch64 2014-05-24 12:52:07 +00:00
arm64_vcopy.c [ARM64] Allow the disabling of NEON and crypto instructions. Update tests to pass -target-feature +neon. 2014-04-16 15:33:48 +00:00
arm64_vcreate.c AArch64/ARM64: rename ARM64 components to AArch64 2014-05-24 12:52:07 +00:00
arm64_vcvtfp.c Rewrite ARM NEON intrinsic emission completely. 2014-06-17 13:11:27 +00:00
arm64_vdup.c [ARM64] Allow the disabling of NEON and crypto instructions. Update tests to pass -target-feature +neon. 2014-04-16 15:33:48 +00:00
arm64_vdupq_n_f64.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
arm64_vecCmpBr.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
arm64_vext.c [ARM64] Allow the disabling of NEON and crypto instructions. Update tests to pass -target-feature +neon. 2014-04-16 15:33:48 +00:00
arm64_vfma.c [ARM64] Allow the disabling of NEON and crypto instructions. Update tests to pass -target-feature +neon. 2014-04-16 15:33:48 +00:00
arm64_vget.c [ARM64] Allow the disabling of NEON and crypto instructions. Update tests to pass -target-feature +neon. 2014-04-16 15:33:48 +00:00
arm64_vneg.c AArch64/ARM64: rename ARM64 components to AArch64 2014-05-24 12:52:07 +00:00
arm64_vqmov.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
arm64_vrecps.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
arm64_vset_lane.c AArch64/ARM64: rename ARM64 components to AArch64 2014-05-24 12:52:07 +00:00
arm64_vshift.c AArch64/ARM64: rename ARM64 components to AArch64 2014-05-24 12:52:07 +00:00
arm64_vsli.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
arm64_vsri.c AArch64: re-enable tests that were looking for a non-existent backend. 2014-06-18 08:37:28 +00:00
arm64_vtst.c [ARM64] Allow the disabling of NEON and crypto instructions. Update tests to pass -target-feature +neon. 2014-04-16 15:33:48 +00:00
arm_acle.c arm_acle: Implement data processing intrinsics 2014-08-28 09:44:07 +00:00
arm_neon_intrinsics.c [test/CodeGen/ARM] Update arm_neon_intrinsics test case to actually test the 2014-08-26 18:43:31 +00:00
array.c
arrayderef.c
asan-globals.cpp [ASan] Use metadata to pass source-level information from Clang to ASan. 2014-08-02 00:35:50 +00:00
asm-errors.c
asm-inout.c
asm-label.c Test case for PR7887 - failed with asm("") 2013-07-03 15:32:48 +00:00
asm-reg-var-local.c
asm-variable.c
asm.c CodeGen: Let arrays be inputs to inline asm 2014-07-14 16:27:53 +00:00
asm_arm.c
asm_arm64.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
assign.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
atomic-arm64.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
atomic-ops-libcall.c CodeGen: Don't completely mess-up optimized atomic libcalls 2014-08-29 07:27:49 +00:00
atomic-ops.c CodeGen: Don't completely mess-up optimized atomic libcalls 2014-08-29 07:27:49 +00:00
atomic.c IR-change: cmpxchg operations now return { iN, i1 }. 2014-06-13 14:24:59 +00:00
atomic_ops.c Improve C11 atomics support: 2013-03-03 16:02:42 +00:00
atomics-inlining.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
attr-availability.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
attr-cleanup.c
attr-coldhot.c [PATCH] Generate cold attribute for functions marked __atribute__((cold)) 2013-05-24 20:18:15 +00:00
attr-minsize.cpp Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
attr-naked.c Fix testcases to not rely upon target-* attributes. 2013-02-26 23:08:48 +00:00
attr-nodebug.c
attr-noinline.c
attr-optnone.c Fix broken FileCheck prefix 2014-05-23 19:07:25 +00:00
attr-used.c
attr-weak-import.c
attr-weakref.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
attr-weakref2.c
attribute-section-data-common.c
attribute_constructor.c
attributes.c Update for llvm change. 2014-07-30 22:52:16 +00:00
available-externally-suppress.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
avx-builtins.c Patched clang to emit x86 blends as shufflevectors. 2014-05-13 02:37:02 +00:00
avx-cmp-builtins.c X86 intrinsics: cmpge|gt|nge|ngt_ss|_sd 2013-06-17 19:42:49 +00:00
avx-shuffle-builtins.c Implement AVX1 vbroadcast intrinsics with vector initializers 2014-05-29 20:47:29 +00:00
avx2-builtins.c Fixed a few tests and moved a comment to its proper place 2014-05-13 05:21:11 +00:00
avx512f-builtins.c [AVX512] Add FMA intrinsics 2014-08-14 17:17:57 +00:00
big-atomic-ops.c Atomics: emit "cmpxchg weak" where possible 2014-06-13 19:43:04 +00:00
bitfield-2.c Complete Rewrite of CGRecordLayoutBuilder 2014-02-21 23:49:50 +00:00
bitfield-assign.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
bitfield-init.c
bitfield-promote.c
bitfield.c Turn struct-path aware TBAA on by default. 2013-10-11 20:48:38 +00:00
block-3.c
block-byref-aggr.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
block-copy.c
blocks-1.c
blocks-aligned-byref-variable.c
blocks-opencl.cl Fix a crash when compiling blocks in OpenCL with multiple 2014-08-14 09:37:50 +00:00
blocks-seq.c clang/test/CodeGen/blocks-seq.c: FileCheck-ize. 2013-01-22 01:51:48 +00:00
blocks.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
blocksignature.c
blockstret.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
blockwithlocalstatic.c
bmi-builtins.c added Intel's BMI intrinsic variants 2014-05-28 20:26:57 +00:00
bmi2-builtins.c
bool-bitfield.c
bool-convert.c Convert test to FileCheck and make it more strict. 2013-12-13 17:47:34 +00:00
bool-init.c Convert test to FileCheck 2013-12-13 19:44:40 +00:00
bool_test.c clang/test: REQUIRES: s/ppc{32|64}-registered-target/powerpc-registered-target/ 2013-12-04 03:41:15 +00:00
boolassign.c
bounds-checking.c Split -fsanitize=bounds to -fsanitize=array-bounds (for the frontend-inserted 2013-10-22 22:51:04 +00:00
branch-on-bool.c Revert r193994 and part of r193995 2013-11-22 10:20:43 +00:00
branch-target-layout.c
builtin-assume.c Add basic (noop) CodeGen support for __assume 2014-07-16 22:44:54 +00:00
builtin-attributes.c Fix testcases to not rely upon target-* attributes. 2013-02-26 23:08:48 +00:00
builtin-count-zeros.c
builtin-expect.c
builtin-memfns.c
builtin-ms-noop.cpp Form a CallExpr from __noop without parens 2014-07-11 23:54:29 +00:00
builtin-nanf.c
builtin-recursive.cc
builtin-rename.c
builtin-stackaddress.c
builtin-unwind-init.c
builtins-arm-exclusive.c ARM: add support for v8 ldaex/stlex builtins. 2014-07-02 12:56:02 +00:00
builtins-arm-microsoft.c CodeGen: make target builtins support languages 2014-07-02 17:41:27 +00:00
builtins-arm.c ARM: Add dbg builtin intrinsic 2014-08-26 12:48:06 +00:00
builtins-arm64.c AArch64: Prefetch intrinsic 2014-08-13 19:18:20 +00:00
builtins-mips-args.c
builtins-mips-msa.c [mips][msa] Correct sld and sldi builtins. 2013-12-10 11:37:00 +00:00
builtins-mips.c Implement __builtin_eh_return_data_regno() for ARM and MIPS. 2013-02-23 04:24:36 +00:00
builtins-ms.c -fms-extensions: Recognize _alloca as an alias for the alloca builtin 2013-11-13 22:58:53 +00:00
builtins-multiprecision.c [multiprecision-builtins] Added missing builtin __builtin_{add,sub}cb for {add,sub} with carry for bytes. 2013-06-18 20:40:40 +00:00
builtins-nvptx.c clang/test/CodeGen/builtins-nvptx.c: Prune "REQUIRES: nvptx64-registered-target". "nvptx" should imply it. 2013-12-04 03:41:02 +00:00
builtins-overflow.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
builtins-ppc-altivec.c [PPC64LE] Fix wrong IR for vec_sld and vec_vsldoi 2014-08-04 23:21:26 +00:00
builtins-ppc.c clang/test: REQUIRES: s/ppc{32|64}-registered-target/powerpc-registered-target/ 2013-12-04 03:41:15 +00:00
builtins-x86.c [x86] Add Clang support for intrinsic __rdpmc. 2014-06-30 18:23:58 +00:00
builtins.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
builtinshufflevector.c
builtinshufflevector2.c [CodeGen] Don't cast and use SizeTy instead of Int32Ty when constructing {extract,insert} vector element instructions. 2014-05-31 00:22:12 +00:00
byval-memcpy-elim.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
c-strings.c MS ABI: Eliminate Duplicate Strings 2014-03-24 21:43:36 +00:00
c11atomics-ios.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
c11atomics.c PR18097: Support initializing an _Atomic(T) from an object of C++ class type T 2014-07-31 06:31:19 +00:00
call.c
capture-complex-expr-in-block.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
captured-statements-nested.c Second part of fix in CodeGen/captured-statements-nested.c 2014-06-30 09:14:10 +00:00
captured-statements.c Fixed test CodeGen/captured-statements.c for powerpc64-linux. 2014-07-04 04:06:11 +00:00
cast-emit.c
cast.c
catch-undef-behavior.c [UBSan] Add returns-nonnull sanitizer. 2014-08-13 00:26:40 +00:00
cfstring.c Now that r199688 avoids the real issue, use private linkage for objc strings. 2014-01-21 01:50:12 +00:00
cfstring2.c
char-literal.c Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
cleanup-stack.c
clear_cache.c Add support for __builtin___clear_cache in Clang 2014-03-26 15:36:05 +00:00
code-coverage.c The flag "-coverage-function-names-in-data" is actually backwards -- we do 2013-03-20 02:14:38 +00:00
complex-builtints.c
complex-convert.c Update tests in preparation for using the MS ABI for Win32 targets 2014-01-13 19:48:13 +00:00
complex-indirect.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
complex-init-list.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
complex.c Fix crash on complex constant zero. 2013-07-16 20:19:04 +00:00
compound-assign-overflow.c ubsan: Only emit constants for filenames and type descriptors once. 2013-11-08 01:09:22 +00:00
compound-literal.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
compound-type.c
compound.c
conditional-gnu-ext.c
conditional.c
const-arithmetic.c
const-init.c Add missing expected-warning. 2013-07-04 15:04:25 +00:00
const-label-addr.c
const-unordered-compare.c
constant-comparison.c
constructor-attribute.c
convertvector.c Add the intrinsic __builtin_convertvector 2013-09-18 03:29:45 +00:00
count-builtins.c
cxx-condition.cpp
cxx-default-arg.cpp Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
cxx-value-init.cpp
darwin-string-literals.c Use private linkage for utf-16 objc strings too. 2014-01-21 02:57:56 +00:00
darwin-thread-specifier.c
debug-info-args.c Debug Info: follow-up patch to r189283. 2013-08-26 23:19:37 +00:00
debug-info-block-decl.c Remove an ugly hack that was meant to eliminate the breakpoint ambiguity 2013-06-18 00:27:36 +00:00
debug-info-block-out-return.c DebugInfo: Blocks: Do not depend on LLVM argument numbering when choosing the debug info argument numbering. 2014-08-08 17:10:14 +00:00
debug-info-block.c Remove really old "APPLE LOCAL" markers. 2014-02-20 14:09:04 +00:00
debug-info-compilation-dir.c
debug-info-crash.c
debug-info-enum.c Reapply: DebugInfo: Emit the definition of enums when the definition preceeds the declaration and initial use. 2014-05-06 18:35:21 +00:00
debug-info-gline-tables-only.c
debug-info-gline-tables-only2.c
debug-info-limited.c DebugInfo: Don't prefer declarations over definitions in -flimit-debug-info in C 2013-08-01 20:57:40 +00:00
debug-info-line.c PR14566: Debug Info: avoid top level lexical blocks in functions 2013-01-26 22:16:26 +00:00
debug-info-line2.c
debug-info-line3.c
debug-info-line4.c
debug-info-member.c
debug-info-scope-file.c DebugInfo: Avoid creating DILexicalScopeFiles when the filename in the current scope has not changed. 2014-05-14 00:29:00 +00:00
debug-info-scope.c Revert r189649 because it was breaking sanitizer bots. 2013-08-30 08:53:09 +00:00
debug-info-static.c
debug-info-typedef.c Debug info: use the file a typedef is defined in as its decl_file instead 2014-01-21 18:42:27 +00:00
debug-info-var-location.c Use an Itanium triple in DWARF debug info tests 2014-01-30 01:01:36 +00:00
debug-info-vector.c
debug-info-version.c Demote the "Debug Info Version" module flag to llvm::Module::Warning 2014-05-19 23:40:06 +00:00
debug-info-vla.c Debug info: Explicitly set the DIVariable::isIndirect() flag for VLAs. 2013-09-18 22:08:57 +00:00
debug-info.c
debug-line-1.c
decl-in-prototype.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
decl.c
dependent-lib.c Improve robustness of tests for module flags metadata 2014-06-19 16:10:21 +00:00
designated-initializers.c CodeGen: Skip unnamed bitfields when handling designated initializers 2014-08-23 01:48:50 +00:00
disable-tail-calls.c BackendUtil: Pass through -mdisable-tail-calls 2014-04-18 01:05:25 +00:00
dllexport.c IRGen: Add more tests for dll attributes 2014-05-25 10:34:16 +00:00
dllimport.c Better codegen support for DLL attributes being dropped after the first declaration (PR20792) 2014-08-29 00:16:06 +00:00
dostmt.c
dwarf-version.c Use dwarf-2 by default on OpenBSD and FreeBSD. 2014-06-13 03:35:37 +00:00
emit-all-decls.c
empty-union-init.c
enum.c
enum2.c
exact-div-expr.c
exceptions-seh.c Add an AST node for __leave statements, hook it up. 2014-07-07 00:12:30 +00:00
exceptions.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
exprs.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
ext-vector-indexing.c ext_vector IRGen. Patch to allow indexing into 2014-08-19 17:17:40 +00:00
ext-vector-member-alignment.c
ext-vector.c the call to UsualArithmeticConversions should come after the call to CheckVectorOperands on CheckConditionalOperands function. This problem caused compilation error with test17 on "test/CodeGen/ext-vector.c". 2013-09-02 20:32:37 +00:00
extern-block-var.c
extern-inline.c
extern-weak.c
f16c-builtins.c
fast-math.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
ffp-contract-option.c clang/test: REQUIRES: s/ppc{32|64}-registered-target/powerpc-registered-target/ 2013-12-04 03:41:15 +00:00
finite-math.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
flatten.c Implement the flatten attribute. 2014-05-20 17:12:51 +00:00
flexible-array-init.c
fma-builtins.c
fma4-builtins.c
fold-const-declref.c
forceinline.c
fp-contract-pragma.cpp Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
fp16-ops.c IR: update Clang to use polymorphic __fp16 conversion intrinsics. 2014-07-17 10:51:31 +00:00
func-aligned.c
func-decl-cleanup.c
func-in-block.c
func-ptr-cast-decl.c
func-return-member.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
funccall.c
function-attributes.c Re-enable several builtins in non-gnu modes. 2014-04-16 08:06:33 +00:00
function-sections.c [MS-ABI] Add support for #pragma section and related pragmas 2014-04-08 22:30:47 +00:00
functions.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
global-blocks-lines.c Remove target-specific alignment from test. 2013-04-02 13:38:42 +00:00
global-decls.c
global-init.c
global-with-initialiser.c
globalinit.c
hidden-alias-to-internal-function.c Fix testcase from r209228 2014-05-20 19:20:23 +00:00
hidden-visibility.c
imaginary.c
implicit-arg.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
incomplete-function-type-2.c Fix testcases to not rely upon target-* attributes. 2013-02-26 23:08:48 +00:00
incomplete-function-type.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
indirect-goto.c Restore global static array in test case 2014-07-03 19:30:33 +00:00
init-with-member-expr.c
init.c PR20473: Don't "deduplicate" string literals with the same value but different 2014-07-29 21:20:12 +00:00
inline-asm-mrv.c
inline.c CodeGen: Emit some functions as weak_odr under -fms-compatibility 2014-04-02 23:17:29 +00:00
inline2.c CodeGen: Don't crash when replacing functions 2014-03-29 14:19:55 +00:00
instrument-functions.c
int-to-pointer.c
integer-overflow.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
intel_ocl_bicc.c
kr-func-promote.c
kr-style-block.c
le32-arguments.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
le32-libcall-pow.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
le32-regparm.c The PNaCl target no longer permits __attribute__((regparm)). 2013-04-08 21:31:01 +00:00
le32-vaarg.c Handle va_arg on struct types for the le32 target (PNaCl and Emscripten) 2014-01-22 20:11:01 +00:00
libcall-declarations.c Darwin: add __sinpi (etc) and __exp10 libbuiltins 2014-01-14 19:26:03 +00:00
libcalls-complex.c Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
libcalls-d.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
libcalls-fno-builtin.c
libcalls-ld.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
libcalls.c Update clang test to cover for new treatment of intrinsics as readnone. 2014-03-06 01:37:10 +00:00
lifetime.c
lifetime2.c Make clang to mark static stack allocations with lifetime markers to enable a more aggressive stack coloring. 2013-03-23 06:43:35 +00:00
lineno-dbginfo.c Move a bunch of tests to directly use the CC1 layer. This at least saves 2014-01-15 09:08:07 +00:00
linetable-endscope.c Revert "Emit column debug information for loads" 2014-07-29 06:53:14 +00:00
link-bitcode-file.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
linkage-redecl.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
linux-arm-atomic.c Use atomic instructions on Bitrig armv6. Patch by Patrick Wildt. 2013-06-17 20:00:15 +00:00
long-double-x86.c
lzcnt-builtins.c
malign-double-x86-nacl.c Ensure i686-nacl long long is aligned 8 bytes (like malign-double) 2014-01-15 21:42:41 +00:00
mandel.c
mangle-windows-rtd.c On 32 bit windows, mangle stdcall and fastcall decls in clang. 2013-10-16 01:40:34 +00:00
mangle-windows.c Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
mangle.c
may-alias.c Turn struct-path aware TBAA on by default. 2013-10-11 20:48:38 +00:00
mcount.c [PowerPC] Make -pg generate calls to _mcount not mcount 2014-03-30 13:00:06 +00:00
merge-attrs.c
merge-statics.c
microsoft-call-conv-x64.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
microsoft-call-conv.c Tighten diagnostics for calling conventions on variadic functions 2013-10-09 18:10:25 +00:00
mips-byval-arg.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
mips-clobber-reg.c [mips][msa] Enable inlinse assembly for MSA. 2013-11-12 12:56:01 +00:00
mips-constraint-regs.c Mips specific inline assembler constraint 'R' 2013-03-04 21:36:11 +00:00
mips-constraints-mem.c Make these tests more robust against IRgen choosing to emit more named metadata. 2013-07-14 06:18:38 +00:00
mips-count-builtins.c [mips] clz is defined to give 32 for zero. Similarly, dclz gives 64. 2014-07-09 13:43:19 +00:00
mips-inline-asm-modifiers.c [mips][msa] Enable inlinse assembly for MSA. 2013-11-12 12:56:01 +00:00
mips-type-sizes-int128.c [mips] Support 128-bit int in N32 ABI by overriding TargetInfo::hasInt128Type() 2014-04-24 16:05:26 +00:00
mips-type-sizes.c [mips] Support 128-bit int in N32 ABI by overriding TargetInfo::hasInt128Type() 2014-04-24 16:05:26 +00:00
mips-vector-arg.c Reapply r176133 with testcase fixes. 2013-02-27 00:06:04 +00:00
mips-vector-return.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
mips16-attr.c Really fix the MIPS test. 2013-03-13 22:44:19 +00:00
mips64-class-return.cpp CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
mips64-f128-literal.c
mips64-nontrivial-return.cpp Update the tests. 2013-01-31 23:17:12 +00:00
mips64-padding-arg.c [mips] Partially revert r193640. Stack alignment should not be determined by 2013-11-11 22:10:46 +00:00
misaligned-param.c
mms-bitfields.c
mmx-builtins.c clang/test: REQUIRES: s/x86-64-registered-target/x86-registered-target/ 2013-12-04 03:41:33 +00:00
mmx-inline-asm-error.c Print detailed vector type information on diagnostics. 2014-04-25 20:41:38 +00:00
mmx-inline-asm.c
mmx-shift-with-immediate.c
mozilla-ms-inline-asm.c Upstream an MS inline assembly test from Mozilla's inline assembly code 2014-07-17 11:38:22 +00:00
mrtd.c Delete CC_Default and use the target default CC everywhere 2013-08-27 23:08:25 +00:00
ms-align-tentative.c MS ABI: Aligned tentative definitions don't have CommonLinkage 2014-08-05 00:01:13 +00:00
ms-anonymous-struct.c revert patch r216469. 2014-08-26 21:10:47 +00:00
ms-declspecs.c Implement __declspec(selectany) under -fms-extensions 2013-05-20 14:02:37 +00:00
ms-inline-asm-64.c Add support for nested blocks in Microsoft inline assembly 2014-07-06 05:26:54 +00:00
ms-inline-asm-functions.c MS inline asm: Tests for r214550 2014-08-01 20:23:29 +00:00
ms-inline-asm.c MS inline asm: Tests for r214550 2014-08-01 20:23:29 +00:00
ms-inline-asm.cpp MS inline asm: Tests for r214550 2014-08-01 20:23:29 +00:00
ms-intrinsics.c tests: relax ms-intrinsics test 2014-06-18 21:48:44 +00:00
ms_abi.c Add ms_abi and sysv_abi attribute handling. 2013-08-30 04:39:01 +00:00
ms_struct-bitfield-1.c
ms_struct-bitfield-2.c
ms_struct-bitfield-3.c
ms_struct-bitfield-init.c
ms_struct-bitfield.c ms_struct layout replaces platform-specific behavior like 2014-02-13 00:50:08 +00:00
ms_struct-pack.c Extensively comment bitfield layout, rearrange some 2014-01-29 07:53:44 +00:00
ms_struct.c
mult-alt-generic.c Remove the mblaze backend from clang. 2013-07-25 18:42:13 +00:00
mult-alt-x86.c
named_reg_global.c Fix bot for named register test 2014-06-05 16:52:20 +00:00
neon-crypto.c AArch64/ARM64: rename ARM64 components to AArch64 2014-05-24 12:52:07 +00:00
no-common.c
no-opt-volatile-memcpy.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
nobuiltin.c
noduplicate-cxx11-test.cpp Exposing the noduplicate attribute within Clang, which marks functions so that the optimizer does not duplicate code. 2014-02-22 16:59:24 +00:00
noinline.c Make -fno-inline attach NoInline attribute to all functions that are not 2014-01-15 19:07:16 +00:00
nomathbuiltin.c Make the nomathbuiltin.c test less demanding. 2013-07-23 01:09:17 +00:00
nonnull.c Properly handle multiple nonnull attributes in CodeGen 2014-08-28 00:53:20 +00:00
nvptx-abi.c [NVPTX] Update ABI handling 2013-11-20 20:35:34 +00:00
nvptx-cc.c
nvptx-cpus.c Remove old NVPTX cpus and add new NVPTX cpus 2013-03-30 14:38:26 +00:00
nvptx-inlineasm-ptx.c [NVPTX] Fix inline asm test case to use LLVM IR instead of PTX so it works even when the NVPTX target is not built 2013-06-21 22:39:56 +00:00
nvptx-inlineasm.c
object-size.c Fix objectsize tests after r192117 2013-10-07 19:00:18 +00:00
offsetof.c
opaque-pointer.c
overloadable.c Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
override-layout.c Changes so that a few tests do not fail when running under guarded malloc. 2013-07-12 22:30:03 +00:00
packed-arrays.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
packed-nest-unpacked.c Complete Rewrite of CGRecordLayoutBuilder 2014-02-21 23:49:50 +00:00
packed-structure.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
packed-union.c Complete Rewrite of CGRecordLayoutBuilder 2014-02-21 23:49:50 +00:00
palignr.c
parameter-passing.c FileCheck'ize test 2013-01-24 23:34:51 +00:00
pascal-string.c
pascal-wchar-string.c
pclmul-builtins.c
pointer-arithmetic.c
pointer-cmp-type.c
pointer-signext.c
pointer-to-int.c
popcnt-builtins.c
powerpc_types.c Remove some incorrect test suppressions 2014-06-30 01:34:09 +00:00
ppc-signbit.c Implement __builtin_signbitl for PowerPC 2014-08-24 03:47:06 +00:00
ppc64-align-long-double.c Misc test cleanups. 2013-12-16 19:53:26 +00:00
ppc64-align-struct.c [PowerPC] Optimize passing certain aggregates by value 2014-07-21 00:56:36 +00:00
ppc64-complex-parms.c Remove some incorrect test suppressions 2014-06-30 01:34:09 +00:00
ppc64-complex-return.c clang/test: REQUIRES: s/ppc{32|64}-registered-target/powerpc-registered-target/ 2013-12-04 03:41:15 +00:00
ppc64-elf-abi.c [PowerPC] Support ELFv1/ELFv2 ABI selection via -mabi= option 2014-07-28 13:17:52 +00:00
ppc64-extend.c clang/test: REQUIRES: s/ppc{32|64}-registered-target/powerpc-registered-target/ 2013-12-04 03:41:15 +00:00
ppc64-inline-asm.c Add a PPC inline asm constraint type for single CR bits 2014-03-02 18:24:18 +00:00
ppc64-struct-onefloat.c clang/test: REQUIRES: s/ppc{32|64}-registered-target/powerpc-registered-target/ 2013-12-04 03:41:15 +00:00
ppc64-struct-onevect.c clang/test: REQUIRES: s/ppc{32|64}-registered-target/powerpc-registered-target/ 2013-12-04 03:41:15 +00:00
ppc64-varargs-complex.c clang/test: REQUIRES: s/ppc{32|64}-registered-target/powerpc-registered-target/ 2013-12-04 03:41:15 +00:00
ppc64-varargs-struct.c clang/test: REQUIRES: s/ppc{32|64}-registered-target/powerpc-registered-target/ 2013-12-04 03:41:15 +00:00
ppc64-vector.c [PowerPC] Optimize passing certain aggregates by value 2014-07-21 00:56:36 +00:00
ppc64le-aggregates.c [PowerPC] Optimize passing certain aggregates by value 2014-07-21 00:56:36 +00:00
ppc64le-varargs-complex.c [PowerPC] Fix small argument stack slot offset for LE 2014-06-20 16:37:40 +00:00
pr2394.c Adds Microsoft compatiable C++ record layout code to clang. 2013-10-11 20:19:00 +00:00
pr3518.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
pr4349.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
pr5406.c
pr9614.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
pr12251.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
pr13168.c
pr18235.c Add a clang side test for pr18235 too. 2013-12-13 16:11:31 +00:00
pr19841.cpp Let clang/test/CodeGen/pr19841.cpp tolerant of MS mangler. 2014-05-28 10:53:06 +00:00
pragma-comment.c Improve robustness of tests for module flags metadata 2014-06-19 16:10:21 +00:00
pragma-detect_mismatch.c Improve robustness of tests for module flags metadata 2014-06-19 16:10:21 +00:00
pragma-loop.cpp Rename metadata in test which was missed when renaming loop unroll metadata in r213771. 2014-07-23 17:59:07 +00:00
pragma-pack-1.c Complete Rewrite of CGRecordLayoutBuilder 2014-02-21 23:49:50 +00:00
pragma-pack-2.c Complete Rewrite of CGRecordLayoutBuilder 2014-02-21 23:49:50 +00:00
pragma-pack-3.c Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
pragma-unroll.cpp Add support for #pragma nounroll. 2014-07-24 18:09:38 +00:00
pragma-visibility.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
pragma-weak.c Update for llvm change. 2014-07-30 22:52:16 +00:00
predefined-expr.c -fms-extensions: Don't define __PRETTY_FUNCTION__ to __FUNCTION__ 2014-04-07 19:27:58 +00:00
prefetchw-builtins.c Add PRFCHW intrinsic support 2013-03-26 17:52:08 +00:00
private-extern-redef.c
private-extern.c
rdrand-builtins.c Add RDSEED intrinsic support defined in AVX2 extension 2013-03-29 05:17:55 +00:00
redef-ext-inline.c
redefine_extname.c
regparm-flag.c
regparm-struct.c Update testcases due to Attribute sorting improvements. 2013-02-15 05:25:49 +00:00
regparm.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
restrict.c
rtm-builtins.c Add XTEST intrinsic defined in TSX extension 2013-03-29 05:14:06 +00:00
sanitize-init-order.cpp [ASan] Print exact source location of global variables in error reports. 2014-07-02 16:54:41 +00:00
sanitize-recover.c
sanitize-thread-attr.cpp Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
sections.c [MS-ABI] Lit fix for r205810 2014-04-08 22:49:38 +00:00
sha-builtins.c Fix ifdef macro missed in previous commit 2013-09-19 14:07:14 +00:00
shared-string-literals.c
sizeof-vla.c
sparcv9-abi.c SPARCv9 implements long double as an IEEE quad. 2014-01-16 16:43:19 +00:00
sparcv9-dwarf.c Add a test for r202059. 2014-02-24 19:24:15 +00:00
split-debug-filename.c Add forgotten testcase. 2013-02-25 18:19:32 +00:00
split-stacks.c Implement the no_split_stack attribute. 2014-05-19 22:14:34 +00:00
sret.c Puny 24-byte structs are returned by value on SPARC. 2014-01-14 06:19:26 +00:00
sret2.c Puny 24-byte structs are returned by value on SPARC. 2014-01-14 06:19:26 +00:00
sse-builtins-dbg.c Fix line numbers for code inlined from __nodebug__ functions. 2014-06-09 09:09:19 +00:00
sse-builtins.c Fix line numbers for code inlined from __nodebug__ functions. 2014-06-09 09:09:19 +00:00
sse4a-builtins.c
stack-protector.c [stackprotector] Add command line option -fstack-protector-strong 2014-02-11 01:35:14 +00:00
statements.c Integers which are too large should be an error. 2013-07-23 00:25:18 +00:00
static-forward-decl-fun.c
static-forward-decl.c
static-local-union.c
static-order.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
staticinit.c
stdcall-fastcall.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
string-literal-short-wstring.c MS ABI: Eliminate Duplicate Strings 2014-03-24 21:43:36 +00:00
string-literal-unicode-conversion.c Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
string-literal.c When lexing in C11 mode, accept unicode character and string literals, per C11 2013-03-09 23:56:02 +00:00
struct-comma.c
struct-copy.c
struct-init.c Add error checking to reject neon_vector_type attribute on targets without NEON. 2013-09-16 18:07:35 +00:00
struct-matching-constraint.c Add error checking to reject neon_vector_type attribute on targets without NEON. 2013-09-16 18:07:35 +00:00
struct-passing.c Fix testcases to not rely upon target-* attributes. 2013-02-26 23:08:48 +00:00
struct-x86-darwin.c Complete Rewrite of CGRecordLayoutBuilder 2014-02-21 23:49:50 +00:00
struct.c
switch-dce.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
switch.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
systemz-inline-asm.c [SystemZ] Fix handling of pass-by-pointer arguments 2013-12-04 09:59:57 +00:00
target-data.c AArch64/ARM64: update Clang after AArch64 removal. 2014-05-24 12:51:25 +00:00
tbaa-class.cpp Turn struct-path aware TBAA on by default. 2013-10-11 20:48:38 +00:00
tbaa-for-vptr.cpp Kill -faddress-sanitizer, -fthread-sanitizer and -fcatch-undefined-behavior flags. 2014-03-20 10:48:29 +00:00
tbaa-ms-abi.cpp Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
tbaa-struct.cpp Misc test cleanups. 2013-12-16 19:53:26 +00:00
tbaa-thread-sanitizer.cpp TBAA: use the same format for scalar TBAA and struct-path aware TBAA. 2013-10-08 00:08:49 +00:00
tbaa.cpp Turn struct-path aware TBAA on by default. 2013-10-11 20:48:38 +00:00
tbm-builtins.c Use logical/arithmetic operations instead of builtins in tbmintrin.h. This way we can remove the intrinsic support from the backend. 2013-10-05 17:08:42 +00:00
tentative-decls.c
thread-specifier.c Don't emit _ZTW wrappers for TLS variables which don't use the C++ thread_local keyword. 2013-04-22 08:06:17 +00:00
tls-model.c
transparent-union.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
trapv.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
typedef-func.c
typedef.c
types.c
ubsan-blacklist.c clang/test/CodeGen: Suppress a couple of tests on win32. It seems -fsanitize-blacklist doesn't accept DOSish pathnames. 2013-01-18 14:11:04 +00:00
ubsan-type-blacklist.cpp [UBSan] Introduce type-based blacklisting. 2014-07-10 22:34:19 +00:00
ucn-identifiers.c Handle universal character names and Unicode characters outside of literals. 2013-01-24 20:50:46 +00:00
uint128_t.c
unaligned-memcpy.c
union-align.c
union-init.c
union-init2.c
union.c Fixed an assertion failure related to bitfield lowering. 2014-03-01 00:38:40 +00:00
unreachable.c FileCheck'ize test 2013-01-24 23:29:37 +00:00
unsigned-overflow.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
unsigned-promotion.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
unsigned-trapv.c
unwind-attr.c Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
utf16-cfstrings.c Use private linkage for utf-16 objc strings too. 2014-01-21 02:57:56 +00:00
varargs.c Ensure we evaluate VLA bounds if a variably-modified type is used as the 2014-04-14 23:47:48 +00:00
variable-array.c
variadic-gpfp-x86.c Correctly Load Mixed FP-GP Variadic Arguments for x86-64. 2014-06-24 20:01:50 +00:00
vector-alignment.c
vector.c Fix return type of _mm_extract_epi8 etc. 2013-09-21 00:05:25 +00:00
vfprintf.c
visibility.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
vla-2.c
vla-3.c
vla-4.c
vla.c Use the dereferenceable attribute on C99 array parameters with static 2014-07-19 01:41:07 +00:00
vld_dup.c Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
volatile-1.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
volatile-2.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
volatile-complex.c test case hygiene. 2014-01-11 21:22:35 +00:00
volatile.c Complete Rewrite of CGRecordLayoutBuilder 2014-02-21 23:49:50 +00:00
wchar-const.c Delete support for AuroraUX. 2014-08-14 15:14:51 +00:00
weak-global.c
weak-incomplete.c
weak_constant.c
whilestmt.c
windows-itanium.c Basic: fix handling for Windows Itanium environment 2014-06-28 23:34:11 +00:00
windows-on-arm-dllimport-dllexport.c CodeGen: support dll{ex,im}port on WoA 2014-05-11 01:31:57 +00:00
writable-strings.c
x86-64-inline-asm.c CodeGen: Let arrays be inputs to inline asm 2014-07-14 16:27:53 +00:00
x86.c
x86_32-arguments-darwin.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
x86_32-arguments-linux.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
x86_32-arguments-nommx.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
x86_32-arguments-realign.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
x86_32-arguments-win32.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
x86_32-fpcc-struct-return.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
x86_32-inline-asm.c Emit an error message instead of crashing when dereferencing an incomplete pointer type. 2013-03-25 21:09:49 +00:00
x86_64-arguments-darwin.c
x86_64-arguments-nacl.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
x86_64-arguments-win32.c Re-apply r216491 (Win64 ABI shouldn't extend integer type arguments.) 2014-08-27 00:36:55 +00:00
x86_64-arguments.c CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
x86_64-atomic-128.c X86: inline all atomic operations up to 128-bits. 2014-07-02 10:25:45 +00:00
xcore-abi.c XCore target: add section information. 2014-02-11 10:34:51 +00:00
xcore-abi.cpp XCore target: fix bug in dereferencing null pointer. 2014-05-02 09:33:30 +00:00
xcore-stringtype.c remove hardcoded metadata numbers from tests 2014-07-22 14:47:42 +00:00
xop-builtins.c