1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Other
Dan Gohman 0b2c2769ba Generalize target-independent folding rules for sizeof to handle more
cases, and implement target-independent folding rules for alignof and
offsetof. Also, reassociate reassociative operators when it leads to
more folding.

Generalize ScalarEvolution's isOffsetOf to recognize offsetof on
arrays. Rename getAllocSizeExpr to getSizeOfExpr, and getFieldOffsetExpr
to getOffsetOfExpr, for consistency with analagous ConstantExpr routines.

Make the target-dependent folder promote GEP array indices to
pointer-sized integers, to make implicit casting explicit and exposed
to subsequent folding.

And add a bunch of testcases for this new functionality, and a bunch
of related existing functionality.

llvm-svn: 94987
2010-02-01 18:27:38 +00:00
..
2002-01-31-CallGraph.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-02-24-InlineBrokePHINodes.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-03-11-ConstPropCrash.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2003-02-19-LoopInfoNestingBug.ll Update these tests to match what Loop::print now prints. 2009-10-24 23:52:07 +00:00
2004-08-16-PackedConstantInlineStore.ll Remove llvm-upgrade and update tests. 2008-02-19 01:44:26 +00:00
2004-08-16-PackedGlobalConstant.ll Remove llvm-upgrade and update tests. 2008-02-19 01:44:26 +00:00
2004-08-16-PackedSelect.ll Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
2004-08-16-PackedSimple.ll Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
2004-08-20-PackedControlFlow.ll Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
2006-02-05-PassManager.ll Eliminate more redundant llvm-as calls. 2009-09-11 18:17:12 +00:00
2007-04-24-eliminate-mostly-empty-blocks.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2007-06-05-PassID.ll -disable-output is no longer needed with -analyze. 2010-01-26 19:25:59 +00:00
2007-06-28-PassManager.ll -disable-output is no longer needed with -analyze. 2010-01-26 19:25:59 +00:00
2007-09-10-PassManager.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2008-02-14-PassManager.ll Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
2008-03-19-PassManager.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2008-06-04-FieldSizeInPacked.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2008-08-14-PassManager.ll Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
2008-10-06-RemoveDeadPass.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2008-10-15-MissingSpace.ll Testcase for PR2894. 2008-10-15 22:34:34 +00:00
2009-03-31-CallGraph.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-06-05-no-implicit-float.ll fix bogus test 2010-01-09 19:24:49 +00:00
2009-09-14-function-elements.ll Forbid arrays of function-type and structures with function-typed fields. 2009-09-15 06:28:26 +00:00
constant-fold-gep.ll Generalize target-independent folding rules for sizeof to handle more 2010-02-01 18:27:38 +00:00
dg.exp sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
invalid-commandline-option.ll Test this differently: I saw this test fail 2008-07-28 19:09:01 +00:00