Commit Graph

31865 Commits

Author SHA1 Message Date
Chris Lattner 18d4802798 MAke this test portable.
llvm-svn: 36164
2007-04-16 21:18:56 +00:00
Duncan Sands 330d495889 Test code quality for variable length array references.
llvm-svn: 36163
2007-04-16 21:13:57 +00:00
Duncan Sands 219044fcbc Check handling of arrays of variable sized components.
llvm-svn: 36162
2007-04-16 21:12:03 +00:00
Anton Korobeynikov 325d93dde4 Heal this test
llvm-svn: 36161
2007-04-16 21:07:00 +00:00
Chris Lattner 320ce04cb2 fix this test
llvm-svn: 36160
2007-04-16 21:05:37 +00:00
Devang Patel 9294281ac1 Proivde getAnalysis<FPAnalysis>(Func) support.
llvm-svn: 36159
2007-04-16 20:56:24 +00:00
Devang Patel 56a5c620fe Do not assert during analysis implementation initialization.
llvm-svn: 36158
2007-04-16 20:44:16 +00:00
Devang Patel 2ff4492a2c Print and delete on the fly pass managers.
llvm-svn: 36157
2007-04-16 20:39:59 +00:00
Reid Spencer 660fa7b6b7 Regenerate.
llvm-svn: 36156
2007-04-16 20:35:38 +00:00
Reid Spencer 4339f7d78f Check length of string before we walk off the end of it.
Thanks, Chris.

llvm-svn: 36155
2007-04-16 20:31:06 +00:00
Devang Patel 69e9f6d7c4 Update module pass manager to support module passes that require
function passes.

llvm-svn: 36154
2007-04-16 20:27:05 +00:00
Devang Patel e64d30573f Give each pass manager chance to manage lower level analysis pass, which is
pass required by one of pass managed by the manager.

llvm-svn: 36153
2007-04-16 20:12:57 +00:00
Evan Cheng a17265bfbd Fixes tests and remove xfail.
llvm-svn: 36152
2007-04-16 20:04:11 +00:00
Evan Cheng 6ccf9a8362 One more callee-saved register used.
llvm-svn: 36151
2007-04-16 18:59:25 +00:00
Evan Cheng 0c8add06f1 Fix test.
llvm-svn: 36150
2007-04-16 18:55:46 +00:00
Devang Patel 254c9eb7c8 Add getPotentialPassManagerType(). No functionality change, yet.
llvm-svn: 36149
2007-04-16 18:51:25 +00:00
Duncan Sands 475eb0f4ed Testcase for C front-end crash.
llvm-svn: 36148
2007-04-16 18:51:13 +00:00
Duncan Sands d16d149262 Testcase for debug info emission for structure fields at variable offsets.
llvm-svn: 36147
2007-04-16 18:49:21 +00:00
Anton Korobeynikov fb80151c42 Removed tabs everywhere except autogenerated & external files. Add make
target for tabs checking.

llvm-svn: 36146
2007-04-16 18:10:23 +00:00
Reid Spencer edce114669 For PR1336:
Un-XFAIL because this passes now.

llvm-svn: 36145
2007-04-16 17:51:25 +00:00
Reid Spencer f8a586d22a Regenerate.
llvm-svn: 36144
2007-04-16 17:47:06 +00:00
Reid Spencer 0fc73b6aee Use a more optimal way to get the name of a function. Thanks, Chris.
llvm-svn: 36143
2007-04-16 17:45:50 +00:00
Reid Spencer 6e87ec4351 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.

llvm-svn: 36142
2007-04-16 17:36:08 +00:00
Lauro Ramos Venancio 675732ad38 Fix hello.ll test.
llvm-svn: 36141
2007-04-16 17:08:00 +00:00
Lauro Ramos Venancio b1d58a5281 Fix align test.
llvm-svn: 36140
2007-04-16 16:57:47 +00:00
Reid Spencer 78d71f168c Don't return 0 if the len == 5, let the assert handle that case.
Thanks, Chris.

llvm-svn: 36139
2007-04-16 16:56:54 +00:00
Duncan Sands 17a2ef6803 Look for site.exp in the build directory, not the source directory.
llvm-svn: 36138
2007-04-16 16:45:12 +00:00
Duncan Sands c68668f27c Use %s, not explicit name.
llvm-svn: 36136
2007-04-16 16:06:17 +00:00
Duncan Sands 389439c7c5 Change ne into !=.
llvm-svn: 36135
2007-04-16 15:37:00 +00:00
Reid Spencer 4dcf8bff4b For PR1319:
Fix syntax of tests to ensure grep pattern is properly quoted.

llvm-svn: 36134
2007-04-16 15:31:49 +00:00
Reid Spencer 86f337eeda For PR1319:
Fix test syntax per new rules.

llvm-svn: 36133
2007-04-16 15:15:52 +00:00
Reid Spencer e7df634b3d Fix the syntax for these tests. Noticed by Duncan Sands.
llvm-svn: 36132
2007-04-16 15:00:39 +00:00
Reid Spencer c6ee811cc2 Syntax upgrade and fix for PR1336.
llvm-svn: 36131
2007-04-16 14:46:17 +00:00
Reid Spencer 15326fa114 For PR1336:
Rename test functions to not conflict with an instruction mnemonic.

llvm-svn: 36130
2007-04-16 14:23:07 +00:00
Reid Spencer b100325547 For PR1336:
Ignore case for instruction mnemonic comparison.

llvm-svn: 36129
2007-04-16 14:20:28 +00:00
Reid Spencer 5203d296c6 Wrap long line.
llvm-svn: 36128
2007-04-16 14:17:04 +00:00
Reid Spencer 0c1a31c92f For PR1336:
Ignore case for register name compare.

llvm-svn: 36127
2007-04-16 14:14:31 +00:00
Reid Spencer fb458caf44 For PR1336:
Un-XFAIL as Alpha feature now specified in lower case.

llvm-svn: 36126
2007-04-16 14:07:53 +00:00
Reid Spencer 19c0217d99 For PR1336:
Subtarget option names must be given in lower case in order to be
recognized. Fixes test/CodeGen/Alpha/ctlz.ll

llvm-svn: 36125
2007-04-16 14:06:19 +00:00
Duncan Sands 085b45e1f1 Fix typos.
llvm-svn: 36124
2007-04-16 13:02:27 +00:00
Reid Spencer c5f397a26f Fix test/CodeGen/Generic/vector-constantexpr.ll
llvm-svn: 36123
2007-04-16 07:08:44 +00:00
Reid Spencer e6a50a1e27 Regenerate.
llvm-svn: 36122
2007-04-16 06:56:07 +00:00
Reid Spencer 94bae69764 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.

llvm-svn: 36121
2007-04-16 06:55:42 +00:00
Reid Spencer 9c2eec377e 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.

llvm-svn: 36120
2007-04-16 06:54:34 +00:00
Reid Spencer f400745e7f Test case for PR1328.
llvm-svn: 36119
2007-04-16 06:52:21 +00:00
Chris Lattner 79d25c3440 make this test more portable.
llvm-svn: 36118
2007-04-16 06:14:28 +00:00
Chris Lattner ae2d5291b5 fix incorrectly upgraded test
llvm-svn: 36117
2007-04-16 06:10:47 +00:00
Chris Lattner aacfb36bd5 remove a bogus test
llvm-svn: 36116
2007-04-16 06:06:42 +00:00
Chris Lattner 5df90f03b9 update test
llvm-svn: 36115
2007-04-16 06:04:03 +00:00
Chris Lattner b21b885cdf fix incorrectly upgraded test, add PR#
llvm-svn: 36114
2007-04-16 05:58:47 +00:00