oota-llvm.git
17 years agoTest code quality for variable length array references.
Duncan Sands [Mon, 16 Apr 2007 21:13:57 +0000 (21:13 +0000)]
Test code quality for variable length array references.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36163 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoCheck handling of arrays of variable sized components.
Duncan Sands [Mon, 16 Apr 2007 21:12:03 +0000 (21:12 +0000)]
Check handling of arrays of variable sized components.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36162 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoHeal this test
Anton Korobeynikov [Mon, 16 Apr 2007 21:07:00 +0000 (21:07 +0000)]
Heal this test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36161 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agofix this test
Chris Lattner [Mon, 16 Apr 2007 21:05:37 +0000 (21:05 +0000)]
fix this test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36160 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoProivde getAnalysis<FPAnalysis>(Func) support.
Devang Patel [Mon, 16 Apr 2007 20:56:24 +0000 (20:56 +0000)]
Proivde  getAnalysis<FPAnalysis>(Func) support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36159 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoDo not assert during analysis implementation initialization.
Devang Patel [Mon, 16 Apr 2007 20:44:16 +0000 (20:44 +0000)]
Do not assert during analysis implementation initialization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36158 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoPrint and delete on the fly pass managers.
Devang Patel [Mon, 16 Apr 2007 20:39:59 +0000 (20:39 +0000)]
Print and delete on the fly pass managers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36157 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRegenerate.
Reid Spencer [Mon, 16 Apr 2007 20:35:38 +0000 (20:35 +0000)]
Regenerate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36156 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoCheck length of string before we walk off the end of it.
Reid Spencer [Mon, 16 Apr 2007 20:31:06 +0000 (20:31 +0000)]
Check length of string before we walk off the end of it.
Thanks, Chris.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36155 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUpdate module pass manager to support module passes that require
Devang Patel [Mon, 16 Apr 2007 20:27:05 +0000 (20:27 +0000)]
Update module pass manager to support module passes that require
function passes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36154 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoGive each pass manager chance to manage lower level analysis pass, which is
Devang Patel [Mon, 16 Apr 2007 20:12:57 +0000 (20:12 +0000)]
Give each pass manager chance to manage lower level analysis pass, which is
pass required by one of pass managed by the manager.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36153 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFixes tests and remove xfail.
Evan Cheng [Mon, 16 Apr 2007 20:04:11 +0000 (20:04 +0000)]
Fixes tests and remove xfail.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36152 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoOne more callee-saved register used.
Evan Cheng [Mon, 16 Apr 2007 18:59:25 +0000 (18:59 +0000)]
One more callee-saved register used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36151 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix test.
Evan Cheng [Mon, 16 Apr 2007 18:55:46 +0000 (18:55 +0000)]
Fix test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36150 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd getPotentialPassManagerType(). No functionality change, yet.
Devang Patel [Mon, 16 Apr 2007 18:51:25 +0000 (18:51 +0000)]
Add getPotentialPassManagerType(). No functionality change, yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36149 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTestcase for C front-end crash.
Duncan Sands [Mon, 16 Apr 2007 18:51:13 +0000 (18:51 +0000)]
Testcase for C front-end crash.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36148 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTestcase for debug info emission for structure fields at variable offsets.
Duncan Sands [Mon, 16 Apr 2007 18:49:21 +0000 (18:49 +0000)]
Testcase for debug info emission for structure fields at variable offsets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36147 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRemoved tabs everywhere except autogenerated & external files. Add make
Anton Korobeynikov [Mon, 16 Apr 2007 18:10:23 +0000 (18:10 +0000)]
Removed tabs everywhere except autogenerated & external files. Add make
target for tabs checking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36146 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 17:51:25 +0000 (17:51 +0000)]
For PR1336:
Un-XFAIL because this passes now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36145 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRegenerate.
Reid Spencer [Mon, 16 Apr 2007 17:47:06 +0000 (17:47 +0000)]
Regenerate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36144 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUse a more optimal way to get the name of a function. Thanks, Chris.
Reid Spencer [Mon, 16 Apr 2007 17:45:50 +0000 (17:45 +0000)]
Use a more optimal way to get the name of a function. Thanks, Chris.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36143 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319:
Reid Spencer [Mon, 16 Apr 2007 17:36:08 +0000 (17:36 +0000)]
For PR1319:
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36142 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix hello.ll test.
Lauro Ramos Venancio [Mon, 16 Apr 2007 17:08:00 +0000 (17:08 +0000)]
Fix hello.ll test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36141 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix align test.
Lauro Ramos Venancio [Mon, 16 Apr 2007 16:57:47 +0000 (16:57 +0000)]
Fix align test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36140 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoDon't return 0 if the len == 5, let the assert handle that case.
Reid Spencer [Mon, 16 Apr 2007 16:56:54 +0000 (16:56 +0000)]
Don't return 0 if the len == 5, let the assert handle that case.
Thanks, Chris.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36139 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoLook for site.exp in the build directory, not the source directory.
Duncan Sands [Mon, 16 Apr 2007 16:45:12 +0000 (16:45 +0000)]
Look for site.exp in the build directory, not the source directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36138 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUse %s, not explicit name.
Duncan Sands [Mon, 16 Apr 2007 16:06:17 +0000 (16:06 +0000)]
Use %s, not explicit name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36136 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoChange ne into !=.
Duncan Sands [Mon, 16 Apr 2007 15:37:00 +0000 (15:37 +0000)]
Change ne into !=.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36135 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319:
Reid Spencer [Mon, 16 Apr 2007 15:31:49 +0000 (15:31 +0000)]
For PR1319:
Fix syntax of tests to ensure grep pattern is properly quoted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36134 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319:
Reid Spencer [Mon, 16 Apr 2007 15:15:52 +0000 (15:15 +0000)]
For PR1319:
Fix test syntax per new rules.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36133 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix the syntax for these tests. Noticed by Duncan Sands.
Reid Spencer [Mon, 16 Apr 2007 15:00:39 +0000 (15:00 +0000)]
Fix the syntax for these tests. Noticed by Duncan Sands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36132 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSyntax upgrade and fix for PR1336.
Reid Spencer [Mon, 16 Apr 2007 14:46:17 +0000 (14:46 +0000)]
Syntax upgrade and fix for PR1336.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36131 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 14:23:07 +0000 (14:23 +0000)]
For PR1336:
Rename test functions to not conflict with an instruction mnemonic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36130 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 14:20:28 +0000 (14:20 +0000)]
For PR1336:
Ignore case for instruction mnemonic comparison.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36129 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoWrap long line.
Reid Spencer [Mon, 16 Apr 2007 14:17:04 +0000 (14:17 +0000)]
Wrap long line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36128 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 14:14:31 +0000 (14:14 +0000)]
For PR1336:
Ignore case for register name compare.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36127 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 14:07:53 +0000 (14:07 +0000)]
For PR1336:
Un-XFAIL as Alpha feature now specified in lower case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36126 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 14:06:19 +0000 (14:06 +0000)]
For PR1336:
Subtarget option names must be given in lower case in order to be
recognized. Fixes test/CodeGen/Alpha/ctlz.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36125 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix typos.
Duncan Sands [Mon, 16 Apr 2007 13:02:27 +0000 (13:02 +0000)]
Fix typos.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36124 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix test/CodeGen/Generic/vector-constantexpr.ll
Reid Spencer [Mon, 16 Apr 2007 07:08:44 +0000 (07:08 +0000)]
Fix test/CodeGen/Generic/vector-constantexpr.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36123 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRegenerate.
Reid Spencer [Mon, 16 Apr 2007 06:56:07 +0000 (06:56 +0000)]
Regenerate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36122 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1328:
Reid Spencer [Mon, 16 Apr 2007 06:55:42 +0000 (06:55 +0000)]
For PR1328:
Use the new parameter on Function::getIntrinsicID to identify cases where
a function is being called with an "llvm." name but it isn't actually an
intrinsic. In such cases generate an error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36121 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1328:
Reid Spencer [Mon, 16 Apr 2007 06:54:34 +0000 (06:54 +0000)]
For PR1328:
Don't assert everytime an intrinsic name isn't recognized. Instead, make
the assert optional when callin getIntrinsicID(). This allows the assembler
to handle invalid intrinsic names gracefully.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36120 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTest case for PR1328.
Reid Spencer [Mon, 16 Apr 2007 06:52:21 +0000 (06:52 +0000)]
Test case for PR1328.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36119 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agomake this test more portable.
Chris Lattner [Mon, 16 Apr 2007 06:14:28 +0000 (06:14 +0000)]
make this test more portable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36118 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agofix incorrectly upgraded test
Chris Lattner [Mon, 16 Apr 2007 06:10:47 +0000 (06:10 +0000)]
fix incorrectly upgraded test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36117 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoremove a bogus test
Chris Lattner [Mon, 16 Apr 2007 06:06:42 +0000 (06:06 +0000)]
remove a bogus test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36116 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoupdate test
Chris Lattner [Mon, 16 Apr 2007 06:04:03 +0000 (06:04 +0000)]
update test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36115 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agofix incorrectly upgraded test, add PR#
Chris Lattner [Mon, 16 Apr 2007 05:58:47 +0000 (05:58 +0000)]
fix incorrectly upgraded test, add PR#

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36114 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoThis needs to stay in the old bytecode format.
Reid Spencer [Mon, 16 Apr 2007 03:35:24 +0000 (03:35 +0000)]
This needs to stay in the old bytecode format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36113 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoThis tests aren't particularly interesting. They are redundant with the
Reid Spencer [Mon, 16 Apr 2007 03:34:01 +0000 (03:34 +0000)]
This tests aren't particularly interesting. They are redundant with the
extract_* tests. They are also perniciously difficult to maintain because
they depend on the bytecode format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36112 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUpdate for 2.0 bytecode format.
Reid Spencer [Mon, 16 Apr 2007 03:28:07 +0000 (03:28 +0000)]
Update for 2.0 bytecode format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36111 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix an intrinsic name.
Reid Spencer [Mon, 16 Apr 2007 03:20:22 +0000 (03:20 +0000)]
Fix an intrinsic name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36110 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 03:18:25 +0000 (03:18 +0000)]
For PR1336:
Rename the intrinsic so this can be upgraded properly. It still fails with
an llc warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36109 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 03:10:56 +0000 (03:10 +0000)]
For PR1336:
Upgrade the intrinsic to its new form.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36108 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 03:06:39 +0000 (03:06 +0000)]
For PR1336:
Un-XFAIL this test now that llvm-ugprade knows how to create functions with
empty names.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36107 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRegenerate.
Reid Spencer [Mon, 16 Apr 2007 03:05:01 +0000 (03:05 +0000)]
Regenerate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36106 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 03:04:13 +0000 (03:04 +0000)]
For PR1336:
Functions without names deserve to be created too. This fixes:
test/CodeGen/Generic/vector-constantexpr.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36105 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 02:57:47 +0000 (02:57 +0000)]
For PR1336:
Un-XFAIL this since it now passes with fix to llvm-upgrade.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36104 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 02:56:33 +0000 (02:56 +0000)]
For PR1336:
When upgrading global vars, look for conflicts with functions as well. This
fixes test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36103 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRevert last patch. It was already fixed.
Reid Spencer [Mon, 16 Apr 2007 02:24:41 +0000 (02:24 +0000)]
Revert last patch. It was already fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36102 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 02:09:24 +0000 (02:09 +0000)]
For PR1336:
Correct this test case. It was passing a uint where a ubyte was expected.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36101 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 01:49:16 +0000 (01:49 +0000)]
For PR1336:
Un-XFAIL this now that its working.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36100 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 01:48:37 +0000 (01:48 +0000)]
For PR1336:
Fix a div-by-zero bug noticed by APInt. This fixes:
test/Transforms/IndVarsSimplify/exit_value_tests.llx

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36099 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 01:31:11 +0000 (01:31 +0000)]
For PR1336:
This test was failing because of signlessness and a difference in the
way the AsmWriter prints arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36098 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 00:41:11 +0000 (00:41 +0000)]
For PR1336:
De-XFAIL tests now passing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36097 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRegenerate.
Reid Spencer [Mon, 16 Apr 2007 00:40:57 +0000 (00:40 +0000)]
Regenerate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36096 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 00:39:39 +0000 (00:39 +0000)]
For PR1336:
Rewrite the upgrade of GEP indices to be a little less obtuse. This fixes
test/Assembler/2002-08-19-BytecodeReader.llx
test/Assembler/2003-08-21-ConstantExprCast-Fold.llx
test/Assembler/2004-01-11-getelementptrfolding.llx

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36095 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTabs -> Spaces
Owen Anderson [Sun, 15 Apr 2007 23:14:18 +0000 (23:14 +0000)]
Tabs -> Spaces

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36094 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Sun, 15 Apr 2007 23:00:46 +0000 (23:00 +0000)]
For PR1336:
XFAIL tests covered by the PR. These will be un-XFAILed as they are fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36093 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to new test harness.
Reid Spencer [Sun, 15 Apr 2007 22:37:04 +0000 (22:37 +0000)]
For PR1319: Upgrade to new test harness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36092 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to new test harness.
Reid Spencer [Sun, 15 Apr 2007 22:20:47 +0000 (22:20 +0000)]
For PR1319: Upgrade to new test harness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36091 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix PR1335 and Transforms/Inline/2007-04-15-InlineEH.ll
Chris Lattner [Sun, 15 Apr 2007 21:38:06 +0000 (21:38 +0000)]
Fix PR1335 and Transforms/Inline/2007-04-15-InlineEH.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36090 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agotestcase for PR1335
Chris Lattner [Sun, 15 Apr 2007 21:37:53 +0000 (21:37 +0000)]
testcase for PR1335

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36089 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agothis test isn't testing what it thought it was
Chris Lattner [Sun, 15 Apr 2007 21:33:36 +0000 (21:33 +0000)]
this test isn't testing what it thought it was

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36088 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to new test harness.
Reid Spencer [Sun, 15 Apr 2007 21:17:45 +0000 (21:17 +0000)]
For PR1319: Upgrade to new test harness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36087 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to new test harness.
Reid Spencer [Sun, 15 Apr 2007 20:48:50 +0000 (20:48 +0000)]
For PR1319: Upgrade to new test harness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36086 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTwo changes:
Reid Spencer [Sun, 15 Apr 2007 20:43:36 +0000 (20:43 +0000)]
Two changes:
1. Don't bother truncating reading of the file. It doesn't save that much
   time and we should support putting RUN lines anywhere in the file. For
   example, someone might want to put the grep match before each function
   in the test file which would sprinkle the RUN: lines throughout the file.
2. Fix a bug with llvmgcc version match .. global var wasn't declared as such

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36085 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to new test harness.
Reid Spencer [Sun, 15 Apr 2007 20:41:31 +0000 (20:41 +0000)]
For PR1319: Upgrade to new test harness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36084 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSome tests have really long RUN line sets. Read the first 4096 bytes instead
Reid Spencer [Sun, 15 Apr 2007 20:31:42 +0000 (20:31 +0000)]
Some tests have really long RUN line sets. Read the first 4096 bytes instead
of 1024.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36083 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to new test harness.
Reid Spencer [Sun, 15 Apr 2007 20:08:37 +0000 (20:08 +0000)]
For PR1319: Upgrade to new test harness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36082 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix a nasty bug introduced when apint'ified. This fixes
Chris Lattner [Sun, 15 Apr 2007 19:52:49 +0000 (19:52 +0000)]
Fix a nasty bug introduced when apint'ified.  This fixes
Transforms/IndVarsSimplify/exit_value_tests.llx

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36081 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to new test harness.
Reid Spencer [Sun, 15 Apr 2007 19:35:51 +0000 (19:35 +0000)]
For PR1319: Upgrade to new test harness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36080 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMake this test work.
Reid Spencer [Sun, 15 Apr 2007 19:28:23 +0000 (19:28 +0000)]
Make this test work.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36079 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoWe don't need the path to be set for llvmgcc/llvmgxx any more.
Reid Spencer [Sun, 15 Apr 2007 19:27:27 +0000 (19:27 +0000)]
We don't need the path to be set for llvmgcc/llvmgxx any more.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36078 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to use new test harness
Reid Spencer [Sun, 15 Apr 2007 19:21:54 +0000 (19:21 +0000)]
For PR1319: Upgrade to use new test harness

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36077 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to use new test harness
Reid Spencer [Sun, 15 Apr 2007 19:11:47 +0000 (19:11 +0000)]
For PR1319: Upgrade to use new test harness

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36076 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to use new test harness
Reid Spencer [Sun, 15 Apr 2007 18:40:57 +0000 (18:40 +0000)]
For PR1319: Upgrade to use new test harness

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36075 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAllow lines that have \ and end in \ to be recognized as ending in \
Reid Spencer [Sun, 15 Apr 2007 18:38:42 +0000 (18:38 +0000)]
Allow lines that have \ and end in \ to be recognized as ending in \

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36074 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to new test harness
Reid Spencer [Sun, 15 Apr 2007 18:11:57 +0000 (18:11 +0000)]
For PR1319: Upgrade to new test harness

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36073 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix this test to test what it was intended to test.
Nick Lewycky [Sun, 15 Apr 2007 13:14:33 +0000 (13:14 +0000)]
Fix this test to test what it was intended to test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36072 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTwo improvements:
Reid Spencer [Sun, 15 Apr 2007 10:27:54 +0000 (10:27 +0000)]
Two improvements:

1. Only read the first 1024 bytes of the file. The RUN: lines should all be
   within that amount of space.  This keeps I/O costs down when reading
   very large files.
2. Print PR numbers with a PR prefix so it is clear what they are.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36071 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to new test harness
Reid Spencer [Sun, 15 Apr 2007 10:26:05 +0000 (10:26 +0000)]
For PR1319: Upgrade to new test harness

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36070 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319: Upgrade to new test harness
Reid Spencer [Sun, 15 Apr 2007 10:11:13 +0000 (10:11 +0000)]
For PR1319: Upgrade to new test harness

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36069 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319:
Reid Spencer [Sun, 15 Apr 2007 10:09:30 +0000 (10:09 +0000)]
For PR1319:
Update to new Tcl exec based test harness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36068 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319:
Reid Spencer [Sun, 15 Apr 2007 10:07:55 +0000 (10:07 +0000)]
For PR1319:
Upgrade to new Tcl exec based test framework. This exposes three regressions
in llvm-upgrade:
test/Assembler/2002-08-19-BytecodeReader.llx
test/Assembler/2003-08-21-ConstantExprCast-Fold.llx
test/Assembler/2004-01-11-getelementptrfolding.llx

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36067 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319:
Reid Spencer [Sun, 15 Apr 2007 09:31:07 +0000 (09:31 +0000)]
For PR1319:
Upgrade to use new Tcl exec based test harness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36066 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319:
Reid Spencer [Sun, 15 Apr 2007 09:21:47 +0000 (09:21 +0000)]
For PR1319:
Upgrade to use new Tcl exec based test harness. This exposes 3 bugs that
were previously not being reported:
test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
test/Transforms/GlobalOpt/memset.ll
test/Transforms/IndVarsSimplify/exit_value_tests.llx

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36065 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUpdate tests for the disappearance of -idom.
Owen Anderson [Sun, 15 Apr 2007 08:54:57 +0000 (08:54 +0000)]
Update tests for the disappearance of -idom.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36064 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRemove ImmediateDominator analysis. The same information can be obtained from DomTre...
Owen Anderson [Sun, 15 Apr 2007 08:47:27 +0000 (08:47 +0000)]
Remove ImmediateDominator analysis.  The same information can be obtained from DomTree.  A lot of code for
constructing ImmediateDominator is now folded into DomTree construction.

This is part of the ongoing work for PR217.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36063 91177308-0d34-0410-b5e6-96231b3b80d8