Andrew Lenharth
2077814c91
Use this nifty Constraints thing and fix the inverted conditional moves
...
llvm-svn: 36191
2007-04-17 04:07:59 +00:00
Andrew Lenharth
fb40bd5654
this is fixed
...
llvm-svn: 36190
2007-04-17 04:07:27 +00:00
Chris Lattner
422cfcdcb3
The (negative) offset from a SymbolTableListTraits-using ilist to its container
...
object is always constant. As such, evaluate it at compile time instead of storing
it as an ivar in SymbolTableListTraits. This shrinks every SymbolTableListTraits
ilist by a word, shrinking BasicBlock from 44->40 bytes, Function from 96->88 bytes,
and Module from 60->52 bytes.
llvm-svn: 36189
2007-04-17 04:04:14 +00:00
Chris Lattner
b47aa543bb
Refactor SymbolTableListTraits to only have a single pointer in it, instead
...
of two. This shrinkifies Function by 8 bytes (104->96) and Module by 8
bytes (68->60). On a testcase of mine, this reduces the memory used to
read a module header from 565680b to 561024, a little over 4K.
llvm-svn: 36188
2007-04-17 03:26:42 +00:00
Chris Lattner
0ed36f4078
urr, yeah.
...
llvm-svn: 36187
2007-04-17 02:04:39 +00:00
Devang Patel
f96c3625c2
Remove "ModulePasses requiring FunctionPasses" from the list of future
...
extensions.
llvm-svn: 36186
2007-04-17 00:17:11 +00:00
Chris Lattner
62a8cbe594
SSE4 is apparently public now.
...
llvm-svn: 36185
2007-04-17 00:02:37 +00:00
Devang Patel
74ede29a27
Add PR number for reference.
...
llvm-svn: 36184
2007-04-16 23:52:37 +00:00
Reid Spencer
d484ca6428
Make long line fit in 80 cols.
...
llvm-svn: 36183
2007-04-16 23:32:28 +00:00
Devang Patel
abdff3fecd
Fix
...
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070416/047888.html
llvm-svn: 36182
2007-04-16 23:03:45 +00:00
Devang Patel
369bec184b
New test case.
...
llvm-svn: 36181
2007-04-16 23:02:22 +00:00
Reid Spencer
58ec791b4c
Fix problems in the PartSet lowering having to do with incorrect bit width.
...
llvm-svn: 36180
2007-04-16 22:21:14 +00:00
Reid Spencer
0ff60618d5
Regenerate
...
llvm-svn: 36179
2007-04-16 22:02:23 +00:00
Reid Spencer
9c9741e864
Okay, yes there *is* a getKeyLength method on ValueName. And, it should be
...
used because we *do* want to allow nulls in names.
llvm-svn: 36178
2007-04-16 22:01:57 +00:00
Jeff Cohen
6f3a548ff4
In the event that some really old non-Intel or -AMD CPU is encountered...
...
llvm-svn: 36177
2007-04-16 21:59:44 +00:00
Reid Spencer
8c756a9ded
Fix this test from Duncan's experiment.
...
llvm-svn: 36176
2007-04-16 21:57:14 +00:00
Reid Spencer
658894a8eb
Also validate that the code generation of IntrinsicLowering for LLI works.
...
llvm-svn: 36175
2007-04-16 21:52:56 +00:00
Reid Spencer
c57be6cb4e
Implement @sext and @zext parameter attribute handling properly instead of
...
forcing every small argument of every function regardless of attributes or
calling convention to be expanded.
llvm-svn: 36174
2007-04-16 21:50:40 +00:00
Jeff Cohen
da17029218
Before assuming that the original code didn't work for Athlon64, the person who
...
replaced it with a FIXME should have determined what did work. Then he would have
realized that the code was in fact correct, and would have avoided breaking it.
llvm-svn: 36173
2007-04-16 21:48:58 +00:00
Chris Lattner
f69ab9475c
refix this
...
llvm-svn: 36172
2007-04-16 21:30:21 +00:00
Devang Patel
9b5e8e5c32
Document how, module pass can require function pass.
...
llvm-svn: 36171
2007-04-16 21:28:14 +00:00
Chris Lattner
e0a060043b
use an x86 t-t for an x86 test. Thanks to Dan for noticing this!
...
llvm-svn: 36170
2007-04-16 21:26:37 +00:00
Chris Lattner
6d9b520091
fix incorrectly upgraded test
...
llvm-svn: 36169
2007-04-16 21:24:14 +00:00
Reid Spencer
654b96df8b
Fix 80 col violations.
...
llvm-svn: 36168
2007-04-16 21:24:12 +00:00
Chris Lattner
5e39c97ba0
We shouldn't have tests for features we don't have yet.
...
llvm-svn: 36167
2007-04-16 21:22:58 +00:00
Chris Lattner
e54ef7a8fb
remove bogus test
...
llvm-svn: 36166
2007-04-16 21:20:27 +00:00
Duncan Sands
2e1ec4dee3
Spelling fix.
...
llvm-svn: 36165
2007-04-16 21:19:45 +00:00
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