Nate Begeman
|
6b2bebd70a
|
Get rid of code in the DAGCombiner that is duplicated in SelectionDAG.cpp
Now all constant folding in the code generator is in one place.
llvm-svn: 25426
|
2006-01-18 22:35:16 +00:00 |
|
Chris Lattner
|
9bc0f6cd90
|
Temporary work around for a libcall insertion bug: If a target doesn't
support FSIN/FCOS nodes, do not lower sin/cos to them.
llvm-svn: 25425
|
2006-01-18 21:50:14 +00:00 |
|
Chris Lattner
|
f7623e2065
|
Make sure that cloning a module clones its target triple and dependent
library list as well. This should help bugpoint.
llvm-svn: 25424
|
2006-01-18 21:32:45 +00:00 |
|
Chris Lattner
|
23da2dc2ac
|
Don't assert on 'select_cc SETUO'
llvm-svn: 25423
|
2006-01-18 19:42:35 +00:00 |
|
Chris Lattner
|
00a483f966
|
fix out of date comment
llvm-svn: 25422
|
2006-01-18 19:37:44 +00:00 |
|
Chris Lattner
|
b0d3080ca8
|
Fix Regression/CodeGen/PowerPC/2006-01-18-InvalidBranchOpcodeAssert.ll
llvm-svn: 25421
|
2006-01-18 19:35:21 +00:00 |
|
Chris Lattner
|
83eb140387
|
new testcase
llvm-svn: 25420
|
2006-01-18 19:16:07 +00:00 |
|
Chris Lattner
|
f7004ffd51
|
Fix a backwards conditional that caused an inf loop in some cases. This
fixes: test/Regression/CodeGen/Generic/2005-01-18-SetUO-InfLoop.ll
llvm-svn: 25419
|
2006-01-18 19:13:41 +00:00 |
|
Chris Lattner
|
d17db92e54
|
this testcase sent the dag combiner spinning into an infinite loop
llvm-svn: 25418
|
2006-01-18 19:13:11 +00:00 |
|
Jim Laskey
|
6b25a4e659
|
Added minimum Dwarf aranges. Cleaned up some section headers. Line number
support now works in gdb.
llvm-svn: 25417
|
2006-01-18 16:54:26 +00:00 |
|
Evan Cheng
|
92c122b26f
|
SRA shift amount must be in i8
llvm-svn: 25416
|
2006-01-18 09:26:46 +00:00 |
|
Evan Cheng
|
4d841aaa98
|
If a call return type is i1, insert a truncate from X86::AL to i1.
llvm-svn: 25415
|
2006-01-18 08:08:38 +00:00 |
|
John Criswell
|
e7062e0703
|
Fixed style of curly brace. No functionality changes.
llvm-svn: 25414
|
2006-01-17 22:01:57 +00:00 |
|
Evan Cheng
|
208f5076a0
|
Fix lowering of calls which return f32 values.
llvm-svn: 25413
|
2006-01-17 21:58:21 +00:00 |
|
Jim Laskey
|
964e70be01
|
Pastos.
llvm-svn: 25412
|
2006-01-17 21:39:39 +00:00 |
|
Chris Lattner
|
6efb726290
|
fix a broken comment
llvm-svn: 25411
|
2006-01-17 21:31:18 +00:00 |
|
Jim Laskey
|
52d9832e70
|
Add frame work for additional dwarf sections. Comments will improve as code
is added.
llvm-svn: 25410
|
2006-01-17 20:41:40 +00:00 |
|
Robert Bocchino
|
8714c48055
|
Test case for the insertelement operation.
llvm-svn: 25409
|
2006-01-17 20:07:30 +00:00 |
|
Robert Bocchino
|
4e3d87a0dc
|
VMCore support for the insertelement operation.
llvm-svn: 25408
|
2006-01-17 20:07:22 +00:00 |
|
Robert Bocchino
|
443661ec6b
|
Constant folding support for the insertelement operation.
llvm-svn: 25407
|
2006-01-17 20:07:07 +00:00 |
|
Robert Bocchino
|
d9fa267a49
|
Lowerpacked and SCCP support for the insertelement operation.
llvm-svn: 25406
|
2006-01-17 20:06:55 +00:00 |
|
Robert Bocchino
|
dc31d8561b
|
Support for the insertelement operation.
llvm-svn: 25405
|
2006-01-17 20:06:42 +00:00 |
|
Robert Bocchino
|
a1ce64b534
|
Reader support for the insertelement operation.
llvm-svn: 25404
|
2006-01-17 20:06:35 +00:00 |
|
Robert Bocchino
|
30daf8a531
|
Lexer and parser support for the insertelement operation.
llvm-svn: 25403
|
2006-01-17 20:06:25 +00:00 |
|
Robert Bocchino
|
a5ec2815a1
|
Instruction and constant expression definitions for the insertelement
operation.
llvm-svn: 25402
|
2006-01-17 20:05:59 +00:00 |
|
Evan Cheng
|
b456305355
|
Bug fix: missing LegalizeOp() on newly created nodes.
llvm-svn: 25401
|
2006-01-17 19:47:13 +00:00 |
|
Evan Cheng
|
a9c4d32e7e
|
Suppress "no newline at end of file" warnings.
llvm-svn: 25400
|
2006-01-17 19:21:01 +00:00 |
|
Jim Laskey
|
a86da88ba3
|
Misc. errors.
llvm-svn: 25399
|
2006-01-17 19:12:24 +00:00 |
|
Chris Lattner
|
ddbf4fba37
|
Clean up the FFS optimization code, and make it correctly create the appropriate
unsigned llvm.cttz.* intrinsic, fixing the 2005-05-11-Popcount-ffs-fls regression
last night.
llvm-svn: 25398
|
2006-01-17 18:27:17 +00:00 |
|
Jim Laskey
|
0c4202b0ba
|
Adding basic support for Dwarf line number debug information.
I promise to keep future commits smaller.
llvm-svn: 25396
|
2006-01-17 17:31:53 +00:00 |
|
Jim Laskey
|
981ed2b9f4
|
Adding UniqueVector.
llvm-svn: 25395
|
2006-01-17 17:29:20 +00:00 |
|
John Criswell
|
ab12f83120
|
Regenerated the Lex and Yacc output files on Linux. It seems that our
Linux machines don't like the source code generated on MacOS X for some
reason.
llvm-svn: 25394
|
2006-01-17 17:01:34 +00:00 |
|
Jim Laskey
|
38e4ff875d
|
Reduce memory consumption and force (somewhat) access to entries via ID.
llvm-svn: 25393
|
2006-01-17 16:29:58 +00:00 |
|
Evan Cheng
|
e840301269
|
Emit a type matching check for ComplexPatterns.
llvm-svn: 25392
|
2006-01-17 07:36:41 +00:00 |
|
Evan Cheng
|
1e112de44a
|
Zero extending load from i1 to i8.
llvm-svn: 25391
|
2006-01-17 07:02:46 +00:00 |
|
Chris Lattner
|
ea1122e334
|
Ensure that the CFE always emits intrinsics in their unsigned version, not with signed operands
llvm-svn: 25390
|
2006-01-17 06:24:01 +00:00 |
|
Jeff Cohen
|
c4b4091108
|
Visual Studio still has issues with being left out.
llvm-svn: 25389
|
2006-01-17 05:13:22 +00:00 |
|
Duraid Madina
|
c667c360e3
|
oops, this shouldn't have gotten in
llvm-svn: 25388
|
2006-01-17 03:09:48 +00:00 |
|
Evan Cheng
|
759a96e1a3
|
SSE does not support i64 SINT_TO_FP (FP stack doesn't either, but we custom
expand it), so ask legalizer to expand i32 UINT_TO_FP.
llvm-svn: 25386
|
2006-01-17 02:32:49 +00:00 |
|
Duraid Madina
|
365cb4f82d
|
use proper (82-bit) spills/fills when spilling FP regs, so that
divides don't get broken. this fixes obsequi, smg2000, and probably
a bunch of other stuff (tm)
llvm-svn: 25385
|
2006-01-17 02:04:52 +00:00 |
|
Duraid Madina
|
f9cc57d93b
|
fixing divides
llvm-svn: 25383
|
2006-01-17 01:19:49 +00:00 |
|
Chris Lattner
|
84370bce71
|
Revert this, I didn't mean to commit it
llvm-svn: 25382
|
2006-01-17 00:40:24 +00:00 |
|
Evan Cheng
|
53520a8cee
|
Added a FIXME comment about why FST is currently flagged to fpGETRESULT.
llvm-svn: 25381
|
2006-01-17 00:37:42 +00:00 |
|
Evan Cheng
|
3a7f44a3b6
|
Yet another getTargetNode() variant. I promise one of these days I'll fix
tblgen so this is unnecessary.
llvm-svn: 25380
|
2006-01-17 00:32:38 +00:00 |
|
Chris Lattner
|
111de6b5cf
|
Add support for programs with a null argv[0]
llvm-svn: 25379
|
2006-01-17 00:32:28 +00:00 |
|
Evan Cheng
|
3ce28c990a
|
Bug fixes: fpGETRESULT should produces a flag result and X86ISD::FST should
read a flag.
llvm-svn: 25378
|
2006-01-17 00:19:47 +00:00 |
|
Jim Laskey
|
bf73e50cc5
|
Redundant inline keyword.
llvm-svn: 25377
|
2006-01-16 23:44:03 +00:00 |
|
Jim Laskey
|
9f2391c897
|
UniqueVector template provides a means of enumerating objects uniquely.
llvm-svn: 25376
|
2006-01-16 23:29:43 +00:00 |
|
Evan Cheng
|
e678b39014
|
More typo's
llvm-svn: 25375
|
2006-01-16 23:26:53 +00:00 |
|
Evan Cheng
|
f7c719fe10
|
Some typo's
llvm-svn: 25374
|
2006-01-16 22:48:46 +00:00 |
|