Commit Graph

3073 Commits

Author SHA1 Message Date
Vikram S. Adve 26a0029255 Added expected decomposed sequence in comments, plus a couple of new cases.
llvm-svn: 3231
2002-08-03 13:16:47 +00:00
Chris Lattner 33b3b9660b Fix problem where lli would not print out a 64 bit value when the client code
uses the modifier "%ld".  Now lli passes off "%lld" to the underlying runtime
library in this case.

llvm-svn: 3230
2002-08-02 23:08:32 +00:00
Chris Lattner 600ba8fa6d Fix one real nasty bug
llvm-svn: 3227
2002-08-02 22:06:04 +00:00
Chris Lattner 551e12055d Fix lli with no arguments
llvm-svn: 3226
2002-08-02 21:51:29 +00:00
Chris Lattner 650b6da0f9 Fix bug: test/Regression/Transforms/InstCombine/2002-08-02-CastTest.ll
Implement feature: Cast's can now be converted to bitwise AND expressions.

llvm-svn: 3225
2002-08-02 20:00:25 +00:00
Chris Lattner a479fecbd5 Fix yet another bug in the testcase
llvm-svn: 3224
2002-08-02 19:59:20 +00:00
Chris Lattner ab3aeb7eae Fix bug in testcase
llvm-svn: 3223
2002-08-02 19:54:05 +00:00
Chris Lattner ae7a0d39fd * Cleanups of instcombine
- Reenable gep (gep x) -> x
   - Make instcombine do dead instruction elimination where it's really
     easy.  Now visitors don't have to ensure they aren't not processing
     dead instructions.

llvm-svn: 3222
2002-08-02 19:29:35 +00:00
Chris Lattner f6f95d08da These tests should not run -dce pass to cleanup instcombine.
If instcombine is making dead instructions, ALL that should be used is -die

llvm-svn: 3221
2002-08-02 19:27:58 +00:00
Chris Lattner e19f137097 Add another testcase that isn't failing because of another bug in instcombine
llvm-svn: 3220
2002-08-02 18:48:09 +00:00
Chris Lattner 7feaa068eb Change test to really test the cases we can hit
llvm-svn: 3219
2002-08-02 18:47:11 +00:00
Chris Lattner a1651c750b New testcase
llvm-svn: 3218
2002-08-02 18:46:53 +00:00
Vikram S. Adve 15bd3ad996 Don't build Debug/ versions when ENABLE_OPTIMIZED is on.
llvm-svn: 3216
2002-08-02 18:34:12 +00:00
Chris Lattner f56bd89918 Fix bug: test/Regression/Transforms/GCSE/2002-05-21-NoSharedDominator.ll
llvm-svn: 3215
2002-08-02 18:06:01 +00:00
Chris Lattner 8e72d6f6e9 Implement dominator checking in the verifier, so that we check that all
defintiions dominate their uses

llvm-svn: 3214
2002-08-02 17:37:08 +00:00
Chris Lattner 6d149e0215 Fix bug: test/Regression/Other/2002-08-02-DomSetProblem.ll
llvm-svn: 3213
2002-08-02 16:51:27 +00:00
Chris Lattner 35d69af46f Add a note about where to put miscompilation tests.
llvm-svn: 3212
2002-08-02 16:44:09 +00:00
Chris Lattner d43023a85d Split dominance calculation and post dominance calculation stuff
Dominance calculation goes to VMCore library to be used by Verifier.

llvm-svn: 3210
2002-08-02 16:43:03 +00:00
Chris Lattner 45dca23e2f New testcase for dominator problem
llvm-svn: 3209
2002-08-02 16:41:21 +00:00
Chris Lattner 2410759241 The verify pass is implicit
llvm-svn: 3208
2002-08-02 16:39:18 +00:00
Chris Lattner 932ed7a084 New test
llvm-svn: 3207
2002-08-02 16:26:08 +00:00
Chris Lattner 36e3570dc2 Tweak makefile after moving
llvm-svn: 3205
2002-08-02 16:10:24 +00:00
Chris Lattner b8f6cfa06e Verify is implicit for opt
llvm-svn: 3204
2002-08-01 22:26:32 +00:00
Chris Lattner 96164edcfb Fix makefile to work.
llvm-svn: 3203
2002-08-01 20:50:54 +00:00
Chris Lattner 2fdcb4b7b6 Fix broken testcase
llvm-svn: 3202
2002-08-01 20:50:03 +00:00
Chris Lattner 3a9b031848 Make testcase legal LLVM
llvm-svn: 3201
2002-08-01 20:48:21 +00:00
Chris Lattner 7ff5a21f0f Remove unneccesary #inlcude
llvm-svn: 3200
2002-08-01 20:01:02 +00:00
Chris Lattner 6a33d6f0bb Enhance -time-passes to be more detailed and useful
llvm-svn: 3199
2002-08-01 19:33:09 +00:00
Vikram S. Adve 6d6deba9f9 Bug fix: incorrect SAVE instruction when using register for stack size.
llvm-svn: 3198
2002-08-01 14:26:11 +00:00
Vikram S. Adve 92a546c025 Feature test for stack size bigger than immed. field of SAVE instruction.
Also tests code generation for code with mixed indices.

llvm-svn: 3197
2002-08-01 14:21:05 +00:00
Chris Lattner 301b7e7733 Reorder tool building sequence to more closely match the reality of what
is being worked on the most.

llvm-svn: 3196
2002-08-01 00:01:33 +00:00
Chris Lattner e5fd3867d3 Fix bug: test/Regression/Assembler/2002-07-31-SlashInString.llx
llvm-svn: 3195
2002-07-31 23:56:44 +00:00
Chris Lattner 14fceb8244 NEw testcase
llvm-svn: 3194
2002-07-31 23:54:29 +00:00
Chris Lattner 50ead8c492 Implement the other half of a feature advertised by OperandConvertableToType.
This fixes bug: test/Regression/Transforms/LevelRaise/2002-07-31-AssertionFailure.ll

llvm-svn: 3193
2002-07-31 22:31:34 +00:00
Chris Lattner d711a5e493 Cleanup Makefile a bit
llvm-svn: 3192
2002-07-31 21:32:05 +00:00
Vikram S. Adve c19b1cc168 Just improved comments and assertions.
llvm-svn: 3191
2002-07-31 21:13:31 +00:00
Chris Lattner ee94eda056 Trim down testcase a bit
llvm-svn: 3190
2002-07-31 21:10:11 +00:00
Chris Lattner 0d3f623a70 New testcase for level-raise crash inspired by SPEC
llvm-svn: 3189
2002-07-31 21:06:29 +00:00
Vikram S. Adve defe6ec939 Add a missing case: converting float/double to unsigned integer types.
llvm-svn: 3188
2002-07-31 21:01:34 +00:00
Chris Lattner ad5a79527f Changes to be GCC3.1 friendly
llvm-svn: 3187
2002-07-31 19:32:14 +00:00
Chris Lattner c70601cd67 Changes to be GCC3.1 friendly
llvm-svn: 3186
2002-07-31 19:32:12 +00:00
Chris Lattner be4826e627 *** empty log message ***
llvm-svn: 3185
2002-07-31 19:32:01 +00:00
Chris Lattner edefd157a7 Changes to be GCC 3.1 friendly
llvm-svn: 3184
2002-07-31 19:31:59 +00:00
Chris Lattner 395c27ae39 We need iostream in PassManagerT.h to use cerr
llvm-svn: 3183
2002-07-31 18:04:17 +00:00
Chris Lattner 6678ec4d1d Fix testcase
llvm-svn: 3182
2002-07-31 17:54:24 +00:00
Chris Lattner 93ca4e50d9 New testcase
llvm-svn: 3181
2002-07-31 17:52:36 +00:00
Chris Lattner f4ef97c59f Testcase that was triggering an incorrect assertion failure
llvm-svn: 3180
2002-07-31 17:39:38 +00:00
Chris Lattner 5987171ef5 Verify pass has been run for a long time now
llvm-svn: 3179
2002-07-31 17:39:16 +00:00
Chris Lattner 35f0c49feb Add new -only-print-main-ds option that causes mains ds graph to be
printed, but no others.

llvm-svn: 3178
2002-07-31 17:15:40 +00:00
Chris Lattner b05cd8a88d Change command line option message on -q to make it more accurate
llvm-svn: 3177
2002-07-31 16:52:49 +00:00