Anton Korobeynikov
b9c91c265c
Fixing PR990: http://llvm.org/PR990 .
...
This should unbreak csretcc on Linux & mingw targets. Several tests from
llvm-test should be also restored (fftbench, bigfib).
llvm-svn: 31613
2006-11-10 00:48:11 +00:00
Chris Lattner
4e03cb1945
add a note about viterbi
...
llvm-svn: 31612
2006-11-10 00:23:26 +00:00
Chris Lattner
82928ca290
second patch to fix PR992/993.
...
llvm-svn: 31610
2006-11-09 23:36:08 +00:00
Chris Lattner
8511bd95f5
new testcases for PR992/993
...
llvm-svn: 31609
2006-11-09 23:35:01 +00:00
Chris Lattner
924f4fee8b
Minimal patch to fix PR992/PR993
...
llvm-svn: 31608
2006-11-09 23:17:45 +00:00
Reid Spencer
51b07256a3
Post-review changes on conversion instructions.
...
llvm-svn: 31607
2006-11-09 23:03:26 +00:00
Reid Spencer
2e2740d46a
Fix runaway <tt> element and section ordering.
...
llvm-svn: 31606
2006-11-09 21:48:10 +00:00
Reid Spencer
8a82cc6304
Remove futurisms that won't be in our future.
...
llvm-svn: 31605
2006-11-09 21:42:14 +00:00
Reid Spencer
a89fb18c98
One more time for indentation.
...
llvm-svn: 31604
2006-11-09 21:18:01 +00:00
Reid Spencer
443460a318
Fix indentation problem starting at GEP.
...
llvm-svn: 31603
2006-11-09 21:15:49 +00:00
Chris Lattner
5fdbe55979
if lazy compilation is disabled, print an error message and abort if
...
lazy compilation is ever attempted
llvm-svn: 31602
2006-11-09 19:32:13 +00:00
Chris Lattner
87aee74ccb
init ivar
...
llvm-svn: 31601
2006-11-09 19:31:15 +00:00
Chris Lattner
6dbe06de39
allow clients to indicate that they never want lazy compilation.
...
llvm-svn: 31600
2006-11-09 19:30:47 +00:00
Evan Cheng
36a8fbf771
PPC supports i32 / i64 pre-inc load / store.
...
llvm-svn: 31599
2006-11-09 19:11:50 +00:00
Evan Cheng
6878378390
Don't attempt expensive pre-/post- indexed dag combine if target does not support them.
...
llvm-svn: 31598
2006-11-09 19:10:46 +00:00
Evan Cheng
d550248f2c
Add a mechanism to specify whether a target supports a particular indexed load / store.
...
llvm-svn: 31597
2006-11-09 18:56:43 +00:00
Evan Cheng
c034f14fbe
Rename ISD::MemOpAddrMode to ISD::MemIndexedMode
...
llvm-svn: 31596
2006-11-09 18:44:21 +00:00
Evan Cheng
b15000736c
Rename ISD::MemOpAddrMode to ISD::MemIndexedMode
...
llvm-svn: 31595
2006-11-09 17:55:04 +00:00
Jim Laskey
f1606b80f1
Allows debugging llc self hosted.
...
llvm-svn: 31594
2006-11-09 16:32:26 +00:00
Jim Laskey
97f89b11b3
Merging dwarf info to a single compile unit.
...
llvm-svn: 31593
2006-11-09 14:52:14 +00:00
Rafael Espindola
5f7ab1b964
implement load effective address similar to the alpha backend
...
remove lea_addri and the now unused memri addressing mode
llvm-svn: 31592
2006-11-09 13:58:55 +00:00
Jim Laskey
48b21d5024
math.h creates ambiguity
...
llvm-svn: 31591
2006-11-09 08:26:22 +00:00
Jim Laskey
31890e7e86
math.h for C's sake.
...
llvm-svn: 31590
2006-11-09 08:05:39 +00:00
Chris Lattner
7275b02ea5
completely revert patrick's enhancement to bugpoint. Though it makes bugpoint
...
speed up, it sometimes makes it crash on complex bc files, which isn't very nice.
With this, bugpoint can reduce the 176.gcc failure.
llvm-svn: 31589
2006-11-09 06:24:56 +00:00
Chris Lattner
f1a1a7ae6f
add a new bugpoint mode -llc-safe. This uses LLC for both halves of a
...
miscompilation. This is useful for working around GCC+CBE bugs or for handling
programs that CBE doesn't support (e.g. inline asm) when searching for
optimizer bugs.
llvm-svn: 31588
2006-11-09 05:57:53 +00:00
Chris Lattner
1b9633d7f0
silence warnings
...
llvm-svn: 31587
2006-11-09 05:18:12 +00:00
Chris Lattner
6e2c15c158
Teach ShrinkDemandedConstant how to handle X+C. This implements:
...
add.ll:test33, add.ll:test34, shift-sra.ll:test2
llvm-svn: 31586
2006-11-09 05:12:27 +00:00
Chris Lattner
92fc0c0651
new testcases
...
llvm-svn: 31585
2006-11-09 05:11:23 +00:00
Evan Cheng
b58e06bc9e
getPostIndexedAddressParts change: passes in load/store instead of its loaded / stored VT.
...
llvm-svn: 31584
2006-11-09 04:29:46 +00:00
Evan Cheng
1698c2999c
Remove M_2_ADDR_FLAG.
...
llvm-svn: 31583
2006-11-09 02:22:54 +00:00
Reid Spencer
c6389c10cc
Don't run bugpoint if we can't find a misoptimization.
...
llvm-svn: 31582
2006-11-09 01:47:04 +00:00
Reid Spencer
206d609cdd
Print a usage message if too few arguments to program.
...
llvm-svn: 31581
2006-11-09 00:50:32 +00:00
Reid Spencer
e73551303f
Add a utility script to find a mis-optimization problem. This sometimes
...
helps when bugpoint can't find the problem directly because it needs the
set of optimizations that cause the program to fail.
llvm-svn: 31580
2006-11-09 00:26:17 +00:00
Tanya Lattner
01167a7eff
Should be xfailed for llvmgcc3
...
llvm-svn: 31578
2006-11-08 23:26:16 +00:00
Tanya Lattner
8a01d7a820
Should be xfailed for llvmgcc4 and NOT *. * means all platforms regardless of what llvmgcc you use.
...
llvm-svn: 31577
2006-11-08 23:25:58 +00:00
Evan Cheng
c9a4cdc9c9
Added indexed store node and patfrag's.
...
llvm-svn: 31576
2006-11-08 23:02:11 +00:00
Evan Cheng
7120b9e9c7
Divide select methods into groups by SelectionDAG node opcodes (ISD::ADD,
...
X86ISD::CMP, etc.) instead of SDNode names (add, x86cmp, etc). We now allow
multiple SDNodes to map to the same SelectionDAG node (e.g. store, indexed
store).
llvm-svn: 31575
2006-11-08 23:01:03 +00:00
Reid Spencer
eacb043c0a
Ensure we don't regress on reading version 6 bytecode.
...
llvm-svn: 31574
2006-11-08 21:28:30 +00:00
Reid Spencer
c4ecf9ff47
Bump the bytecode version number to 7. Implement upgrade of version 6 and
...
version 6 bytecode.
llvm-svn: 31573
2006-11-08 21:27:54 +00:00
Evan Cheng
3b3b786f03
Use movl+xchgl instead of pushl+popl.
...
llvm-svn: 31572
2006-11-08 20:35:37 +00:00
Evan Cheng
6cd0909da7
Match tblegen changes.
...
llvm-svn: 31571
2006-11-08 20:34:28 +00:00
Evan Cheng
d715a2cbfb
Always pass the root node to ComplexPattern isel matching function.
...
llvm-svn: 31570
2006-11-08 20:31:10 +00:00
Evan Cheng
85e54223cd
Match more post-indexed ops.
...
llvm-svn: 31569
2006-11-08 20:27:27 +00:00
Tanya Lattner
fd6e54439a
Should be xfailed for llvm-gcc3.4
...
llvm-svn: 31568
2006-11-08 20:16:05 +00:00
Reid Spencer
b3aa10f933
Document correct opcodes for post 1.9 release.
...
llvm-svn: 31566
2006-11-08 20:07:40 +00:00
Reid Spencer
99b21508e6
Update the instruction opcodes for release 1.9
...
llvm-svn: 31565
2006-11-08 20:06:36 +00:00
Chris Lattner
4f218d56f5
reenable factoring of GEP expressions, being more precise about the
...
case that it bad to do.
llvm-svn: 31563
2006-11-08 19:42:28 +00:00
Chris Lattner
cd62f11227
make this code more efficient by not creating a phi node we are just going to
...
delete in the first place. This also makes it simpler.
llvm-svn: 31562
2006-11-08 19:29:23 +00:00
Jim Laskey
61feeb90f9
Remove redundant <cmath>.
...
llvm-svn: 31561
2006-11-08 19:16:44 +00:00
Chris Lattner
a3acfca920
disable this factoring optzn for GEPs for now, this severely pessimizes some
...
loops.
llvm-svn: 31560
2006-11-08 18:49:31 +00:00