Commit Graph

33226 Commits

Author SHA1 Message Date
Duncan Sands fe80638417 Extend eh.selector to support both catches and filters.
Drop the eh.filter intrinsic.

llvm-svn: 37875
2007-07-04 20:52:51 +00:00
Duncan Sands fda68e7b10 Nested try-catch-filter testcase.
llvm-svn: 37874
2007-07-04 20:48:48 +00:00
Chris Lattner 98c09a07ca Make the GSG actually work.
llvm-svn: 37872
2007-07-04 18:42:47 +00:00
Owen Anderson cd94fc982a Fix a typo that was killing GVNPRE of select instructions.
llvm-svn: 37871
2007-07-04 18:26:18 +00:00
Owen Anderson 664e260a9c Fix an error in phi translation of GEPs that was causing failures.
llvm-svn: 37868
2007-07-04 04:51:16 +00:00
Reid Spencer 540aa864ba Ignore the .svn directories so countloc.sh and llvmgrep won't traverse them.
llvm-svn: 37867
2007-07-04 01:35:32 +00:00
Bill Wendling 8590f920c7 Support generation of GR64 to MMX code in the JIT.
llvm-svn: 37866
2007-07-04 01:29:22 +00:00
Devang Patel 24f9e2cf98 Remove unused method - getIDomBlock().
llvm-svn: 37865
2007-07-04 01:11:19 +00:00
Devang Patel 67c27ceac7 Fix typo in assertion check.
llvm-svn: 37864
2007-07-04 01:05:22 +00:00
Bill Wendling 3053244b27 Allow a GR64 to be moved into an MMX register via the "movd" instruction.
Still need to have JIT generate this code.

llvm-svn: 37863
2007-07-04 00:19:54 +00:00
Owen Anderson 2e4b6feac2 Add support for performing GVNPRE on GEP instructions.
llvm-svn: 37862
2007-07-03 23:51:19 +00:00
Bill Wendling 9d1ff65719 Change the place where man pages are installed to ${prefix}/share/man1. This
puts them in a more standardized place.

llvm-svn: 37861
2007-07-03 23:04:11 +00:00
Owen Anderson b9a494aea3 Add functionality to value number GEP instructions. This also provides the infrastructure that will
be used for function calls.  NOTE: This does not yet do any transformation of GEPs or function calls.

llvm-svn: 37860
2007-07-03 22:50:56 +00:00
Anton Korobeynikov 12e21dc312 Test modified svn mailer
llvm-svn: 37859
2007-07-03 21:57:50 +00:00
Owen Anderson fc56043844 Remove BFtoLLVM. It was old, and a poor example because it didn't use best practices for making
a LLVM frontend in C++.  Maybe someday it will be rewritten..

llvm-svn: 37858
2007-07-03 21:36:47 +00:00
Owen Anderson 6b958c72bd Make the unary operator case a bit faster, since casts are the only kind of unary operation.
llvm-svn: 37857
2007-07-03 19:01:42 +00:00
Owen Anderson 59bd053fc5 Add support for performing GVNPRE on cast instructions, and add a testcase for this.
llvm-svn: 37856
2007-07-03 18:37:08 +00:00
Tanya Lattner 11f9d1b7ee We really should not have this version number in SO many makefiles. This should also probably change to svn instead of cvs, but leaving it for now.
llvm-svn: 37855
2007-07-03 18:11:20 +00:00
Anton Korobeynikov 510dfdaa0d Revert last change until issue reported by Owen, won't be fixed.
llvm-svn: 37854
2007-07-03 17:16:46 +00:00
Dale Johannesen c2a6089b8b Some spacing fixes. Cosmetic.
llvm-svn: 37853
2007-07-03 17:07:33 +00:00
Anton Korobeynikov 76f70dc838 Rename llvm-test => test-suite. By Dave Greene.
llvm-svn: 37852
2007-07-03 17:01:58 +00:00
Dan Gohman 06563a8702 Fix several over-aggressive folds for undef nodes in dagcombine, to
follow the rules for undef used in instcombine.

llvm-svn: 37851
2007-07-03 14:03:57 +00:00
Chris Lattner 4b32528ba9 note where to get steens-aa and ds-aa
llvm-svn: 37850
2007-07-03 04:41:50 +00:00
Owen Anderson 00e7e32abf Test commit.
llvm-svn: 37849
2007-07-03 02:28:17 +00:00
Dale Johannesen a8bf39ee31 New testcases for rev 37847 (PR's 1489 and 1505).
llvm-svn: 37848
2007-07-03 00:58:37 +00:00
Dale Johannesen a2b3c175db Fix for PR 1505 (and 1489). Rewrite X87 register
model to include f32 variants.  Some factoring
improvments forthcoming.

llvm-svn: 37847
2007-07-03 00:53:03 +00:00
Tanya Lattner 5518345f25 Testing commit.
llvm-svn: 37846
2007-07-02 18:10:52 +00:00
Dan Gohman 9ff9908413 Add a basic test-case for passing and returning <4 x double> and
<8 x float> values on X86.

llvm-svn: 37845
2007-07-02 16:23:47 +00:00
Dan Gohman f9ae1c6001 Vector results may be returned in XMM0 and XMM1, not just XMM0. With
the recent lowering changes, this allows types like <4 x double> to
be returned, using two vector registers.

llvm-svn: 37844
2007-07-02 16:21:53 +00:00
Dan Gohman 533dd16a7f Replace ExpandScalarFormalArgs and ExpandScalarCallArgs with the newly
refactored getCopyFromParts and getCopyToParts, which are more general.
This effectively adds support for lowering illegal by-val vector call
arguments.

llvm-svn: 37843
2007-07-02 16:18:06 +00:00
Dan Gohman 9a70823375 Teach GetNegatedExpression to negate 0-B to B in UnsafeFPMath mode, and
visitFSUB to fold 0-B to -B in UnsafeFPMath mode. Also change visitFNEG
to use isNegatibleForFree/GetNegatedExpression instead of doing a subset
of the same thing manually.

This fixes test/CodeGen/X86/negative-sin.ll.

llvm-svn: 37842
2007-07-02 15:48:56 +00:00
Dan Gohman 11a4008a59 New test case. DAGCombiner should be able to fold -sin(-x)
in -enable-unsafe-fp-math mode.

llvm-svn: 37841
2007-07-02 15:43:20 +00:00
Dan Gohman 32c3c19bed Remove declarations for code no longer in the tree, to avoid confusion.
llvm-svn: 37840
2007-07-02 15:06:26 +00:00
Dan Gohman 1eb8ed47f5 Add explicit keywords.
llvm-svn: 37839
2007-07-02 14:53:37 +00:00
Zhou Sheng bf61346b1c Test case for recent patch for IndVarSimplify.cpp
llvm-svn: 37838
2007-07-02 08:02:14 +00:00
Reid Spencer df2e2037bd Remove the last vestiges of -usesvn.
Implement -usecvs just in case we need to go back to cvs for some reason.

llvm-svn: 37837
2007-07-02 06:19:57 +00:00
Reid Spencer 4bc337631c We want the Subversion checkout to succeed even if we don't specify
the -verbose option! Doh!

llvm-svn: 37836
2007-07-02 06:16:32 +00:00
Reid Spencer 0b67f66b45 Terminate the document with the right end tags.
llvm-svn: 37835
2007-07-01 17:02:22 +00:00
Nick Lewycky 5105adfcd1 Fix undefined behaviour reported by the new --enable-expensive-checks option.
llvm-svn: 37829
2007-07-01 03:06:30 +00:00
Duraid Madina 097bb1b72e take blame for bigblock RA (test SVN commit)
llvm-svn: 37828
2007-06-30 15:47:36 +00:00
Reid Spencer 6dfece9281 Be slightly more explanatory about the work I've done on LLVM.
llvm-svn: 37827
2007-06-30 06:56:50 +00:00
Chris Lattner 6fef7a228e test commit
llvm-svn: 37826
2007-06-30 06:53:56 +00:00
Evan Cheng a1a3cc130d (For Chris): Fix failure where we rejected compiling stubs when lazy compilation is disabled.
llvm-svn: 37825
2007-06-30 00:10:37 +00:00
Anton Korobeynikov 09ca62d5c5 Remove labels again
llvm-svn: 37824
2007-06-30 00:00:57 +00:00
Evan Cheng d21e3ab873 New test.
llvm-svn: 37823
2007-06-29 23:17:15 +00:00
Devang Patel 88197332e7 Add loop info verification mechanism.
llvm-svn: 37822
2007-06-29 23:13:42 +00:00
Anton Korobeynikov eaa836bbf5 Change CVS-style 'labels' to SVN 'tags' directory.
llvm-svn: 37821
2007-06-29 23:13:42 +00:00
Devang Patel 0975c6d7f9 Preserve DominanceFrontier.
llvm-svn: 37820
2007-06-29 23:11:49 +00:00
Dan Gohman 2e5e277cb3 Add an explicit keyword. Thanks Chris!
llvm-svn: 37819
2007-06-29 22:16:25 +00:00
Evan Cheng fa68d069ad Only do FNEG xform when the vector type is a floating point type.
llvm-svn: 37818
2007-06-29 21:44:35 +00:00