llvm/test/CodeGen/Generic
Chris Lattner 1afcace3a3 Land the long talked about "type system rewrite" patch. This
patch brings numerous advantages to LLVM.  One way to look at it
is through diffstat:
 109 files changed, 3005 insertions(+), 5906 deletions(-)

Removing almost 3K lines of code is a good thing.  Other advantages
include:

1. Value::getType() is a simple load that can be CSE'd, not a mutating
   union-find operation.
2. Types a uniqued and never move once created, defining away PATypeHolder.
3. Structs can be "named" now, and their name is part of the identity that
   uniques them.  This means that the compiler doesn't merge them structurally
   which makes the IR much less confusing.
4. Now that there is no way to get a cycle in a type graph without a named
   struct type, "upreferences" go away.
5. Type refinement is completely gone, which should make LTO much MUCH faster
   in some common cases with C++ code.
6. Types are now generally immutable, so we can use "Type *" instead 
   "const Type *" everywhere.

Downsides of this patch are that it removes some functions from the C API,
so people using those will have to upgrade to (not yet added) new API.  
"LLVM 3.0" is the right time to do this.

There are still some cleanups pending after this, this patch is large enough
as-is.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134829 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-09 17:41:24 +00:00
..
2002-04-14-UnexpectedUnsignedType.ll
2002-04-16-StackFrameSizeAlignment.ll
2003-05-27-phifcmpd.ll
2003-05-27-useboolinotherbb.ll
2003-05-27-usefsubasbool.ll
2003-05-28-ManyArgs.ll
2003-05-30-BadFoldGEP.ll
2003-05-30-BadPreselectPhi.ll
2003-07-06-BadIntCmp.ll
2003-07-07-BadLongConst.ll
2003-07-08-BadCastToBool.ll
2003-07-29-BadConstSbyte.ll
2004-02-08-UnwindSupport.ll
2004-05-09-LiveVarPartialRegister.ll
2005-01-18-SetUO-InfLoop.ll
2005-04-09-GlobalInPHI.ll
2005-10-18-ZeroSizeStackObject.ll
2005-10-21-longlonggtu.ll
2005-12-01-Crash.ll
2005-12-12-ExpandSextInreg.ll
2006-01-12-BadSetCCFold.ll
2006-01-18-InvalidBranchOpcodeAssert.ll
2006-02-12-InsertLibcall.ll
2006-03-01-dagcombineinfloop.ll
2006-04-26-SetCCAnd.ll
2006-04-28-Sign-extend-bool.ll
2006-05-06-GEP-Cast-Sink-Crash.ll
2006-06-12-LowerSwitchCrash.ll
2006-06-13-ComputeMaskedBitsCrash.ll
2006-06-28-SimplifySetCCCrash.ll
2006-07-03-schedulers.ll
2006-08-30-CoalescerCrash.ll
2006-09-02-LocalAllocCrash.ll Remove the local register allocator. 2010-06-15 21:58:33 +00:00
2006-09-06-SwitchLowering.ll
2006-10-27-CondFolding.ll
2006-10-29-Crash.ll
2006-11-20-DAGCombineCrash.ll
2007-01-15-LoadSelectCycle.ll
2007-02-25-invoke.ll
2007-04-08-MultipleFrameIndices.ll
2007-04-13-SwitchLowerBadPhi.ll don't have i386-specific tests in CodeGen/Generic, PR6601. 2010-03-14 18:51:18 +00:00
2007-04-17-lsr-crash.ll
2007-04-27-InlineAsm-X-Dest.ll
2007-04-27-LargeMemObject.ll
2007-04-30-LandingPadBranchFolding.ll Remove support for using "foo" as symbols instead of %"foo". This is ancient 2011-06-17 06:36:20 +00:00
2007-05-03-EHTypeInfo.ll Remove the -enable-sjlj-eh option, which doesn't do anything. 2010-05-02 15:36:26 +00:00
2007-05-15-InfiniteRecursion.ll
2007-12-17-InvokeAsm.ll Remove the -enable-sjlj-eh option, which doesn't do anything. 2010-05-02 15:36:26 +00:00
2007-12-31-UnusedSelector.ll Remove the -enable-sjlj-eh option, which doesn't do anything. 2010-05-02 15:36:26 +00:00
2008-01-25-dag-combine-mul.ll
2008-01-30-LoadCrash.ll
2008-02-04-Ctlz.ll
2008-02-04-ExtractSubvector.ll
2008-02-20-MatchingMem.ll
2008-02-25-NegateZero.ll
2008-02-26-NegatableCrash.ll
2008-08-07-PtrToInt-SmallerInt.ll don't have i386-specific tests in CodeGen/Generic, PR6601. 2010-03-14 18:51:18 +00:00
2009-03-17-LSR-APInt.ll
2009-03-29-SoftFloatVectorExtract.ll
2009-04-10-SinkCrash.ll
2009-04-28-i128-cmp-crash.ll
2009-06-03-UnreachableSplitPad.ll
2009-11-16-BadKillsCrash.ll don't have i386-specific tests in CodeGen/Generic, PR6601. 2010-03-14 18:51:18 +00:00
2010-07-27-DAGCombineCrash.ll Fix a crash in the dag combiner caused by ConstantFoldBIT_CONVERTofBUILD_VECTOR calling itself 2010-07-27 18:02:18 +00:00
2010-11-04-BigByval.ll Un-XFAIL this test for ARM. <rdar://problem/7662569> 2011-04-20 21:47:45 +00:00
2010-ZeroSizedArg.ll Remove arm_apcscc from the test files. It is the default and doing this 2010-06-17 15:18:27 +00:00
2011-01-06-BigNumberCrash.ll Add a testcase for PR8582, which mysteriously fixed itself, in case the problem 2011-01-06 23:04:29 +00:00
2011-07-07-ScheduleDAGCrash.ll Added a testcase for PR10220. 2011-07-07 00:36:02 +00:00
add-with-overflow-24.ll
add-with-overflow-128.ll Fixes PR8823: add-with-overflow-128.ll 2010-12-23 03:15:51 +00:00
add-with-overflow.ll
addr-label.ll Fix PR6673: updating the callback should not clear the map. 2010-03-22 23:15:57 +00:00
APIntLoadStore.ll
APIntParam.ll
APIntSextParam.ll
APIntZextParam.ll
asm-large-immediate.ll
badarg6.ll
badCallArgLRLLVM.ll
badFoldGEP.ll
BasicInstrs.ll
bool-to-double.ll
bool-vector.ll
builtin-expect.ll Introduce "expect" intrinsic instructions. 2011-07-06 18:22:43 +00:00
call2-ret0.ll
call-ret0.ll
call-ret42.ll
call-void.ll
cast-fp.ll
ConstantExprLowering.ll
constindices.ll
crash.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
dbg_value.ll Fix liveintervals handling of dbg_value instructions. 2010-03-16 21:51:27 +00:00
dg.exp
div-neg-power-2.ll
edge-bundles-blockIDs.ll Rename the test. Thanks Cameron! Use shorter/generic names. 2011-06-16 00:34:10 +00:00
empty-load-store.ll
externally_available.ll
fastcall.ll
fneg-fabs.ll
fp_to_int.ll
fp-to-int-invalid.ll
fpowi-promote.ll make target independent. 2010-02-09 06:36:30 +00:00
fwdtwice.ll
global-ret0.ll
hello.ll
i128-addsub.ll
i128-arith.ll
inline-asm-special-strings.ll
intrinsics.ll
invalid-memcpy.ll rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
isunord.ll
llvm-ct-intrinsics.ll
Makefile
multiple-return-values-cross-block-with-invoke.ll remove asmparser support for the old getresult instruction, which has been subsumed by extractvalue. 2011-06-17 06:57:15 +00:00
negintconst.ll
nested-select.ll
overflow.ll add a general coverage test for overflow intrinsics. 2010-12-19 20:01:13 +00:00
pr2625.ll
pr3288.ll
print-add.ll
print-arith-fp.ll
print-arith-int.ll
print-int.ll
print-mul-exp.ll
print-mul.ll
print-shift.ll
promote-integers.ll This patch is another step in the direction of adding vector select. In this 2011-06-01 12:51:46 +00:00
ret0.ll
ret42.ll
select-cc.ll
select.ll
shift-int64.ll
stacksave-restore.ll
storetrunc-fp.ll
switch-lower-feature.ll merge two tests, make target independent. 2010-02-09 06:19:20 +00:00
switch-lower.ll
trap.ll
v-split.ll
vector-casts.ll
vector-constantexpr.ll
vector-identity-shuffle.ll
vector.ll
zero-sized-array.ll Make codegen able to handle values of empty types. This is one way 2011-05-13 15:18:06 +00:00