summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add some more diagnostics for va_start, fix tests so they pass with these ↵Anders Carlsson2007-10-124-3/+55
| | | | | | new diags. llvm-svn: 42917
* Did mean to leave this in. INSERT_SUBREG isn't being coalesced yet.Evan Cheng2007-10-121-2/+1
| | | | llvm-svn: 42916
* Fixed a bug whereby, struct tag name matches a typedef/objc-class nameFariborz Jahanian2007-10-124-6/+33
| | | | | | and hid them. llvm-svn: 42915
* Temporary fix to test case. This area is currently under construction...test ↵Steve Naroff2007-10-121-2/+7
| | | | | | case will be changing again soon. llvm-svn: 42914
* Remove duplicate comment.Neil Booth2007-10-121-11/+0
| | | | llvm-svn: 42913
* Implement correctly-rounded decimal->binary conversion, i.e. conversionNeil Booth2007-10-122-13/+364
| | | | | | | | | | | from user input strings. Such conversions are more intricate and subtle than they may appear; it is unlikely I have got it completely right first time. I would appreciate being informed of any bugs and incorrect roundings you might discover. llvm-svn: 42912
* Remove a field that was never used.Neil Booth2007-10-121-9/+6
| | | | llvm-svn: 42911
* If we're trying to be arbitrary precision, unsigned char clearly won't cut ↵Neil Booth2007-10-121-1/+1
| | | | | | it. Needed for dec->bin conversions. llvm-svn: 42910
* Don't attempt to mask no bitsNeil Booth2007-10-121-1/+2
| | | | llvm-svn: 42909
* Change the names used for internal labels to use the currentDan Gohman2007-10-1213-93/+78
| | | | | | | | | function symbol name instead of a codegen-assigned function number. Thanks Evan! :-) llvm-svn: 42908
* Fix some corner cases with vectors in copyToRegs and copyFromRegs.Dan Gohman2007-10-121-1/+16
| | | | llvm-svn: 42907
* Add support to SplitVectorOp for powi, where the second operandDan Gohman2007-10-121-0/+6
| | | | | | is a scalar integer. llvm-svn: 42906
* Mark vector ctpop, cttz, and ctlz as Expand on x86.Dan Gohman2007-10-121-0/+3
| | | | llvm-svn: 42905
* Mark vector pow, ctpop, cttz, and ctlz as Expand on PowerPC.Dan Gohman2007-10-121-1/+4
| | | | llvm-svn: 42904
* Restrict EXTRACT_SUBREG coalescing to avoid negative performance impact.Evan Cheng2007-10-121-1/+6
| | | | llvm-svn: 42903
* Doh.Evan Cheng2007-10-121-1/+1
| | | | llvm-svn: 42901
* EXTRACT_SUBREG test case.Evan Cheng2007-10-121-0/+35
| | | | llvm-svn: 42900
* EXTRACT_SUBREG coalescing support. The coalescer now treats EXTRACT_SUBREG likeEvan Cheng2007-10-1212-241/+415
| | | | | | | | | (almost) a register copy. However, it always coalesced to the register of the RHS (the super-register). All uses of the result of a EXTRACT_SUBREG are sub- register uses which adds subtle complications to load folding, spiller rewrite, etc. llvm-svn: 42899
* Some clean up.Evan Cheng2007-10-121-3/+0
| | | | llvm-svn: 42898
* Cosmetic.Evan Cheng2007-10-121-1/+1
| | | | llvm-svn: 42897
* Fix typos.Evan Cheng2007-10-121-5/+5
| | | | llvm-svn: 42896
* Fold load / store into MOV32to32_ and MOV16to16_.Evan Cheng2007-10-121-0/+4
| | | | llvm-svn: 42895
* Flag MOV32to32_ with EXTRACT_SUBREG. They should not be scheduled apart.Evan Cheng2007-10-121-7/+7
| | | | llvm-svn: 42894
* Added missing -march=x86 flag.Arnold Schwaighofer2007-10-121-1/+1
| | | | llvm-svn: 42893
* eliminate warningGabor Greif2007-10-121-1/+1
| | | | llvm-svn: 42892
* Fix some 80 column violations.Chris Lattner2007-10-121-35/+42
| | | | | | | | Fix DecomposeSimpleLinearExpr to handle simple constants better. Don't nuke gep(bitcast(allocation)) if the bitcast(allocation) will fold the allocation. This fixes PR1728 and Instcombine/malloc3.ll llvm-svn: 42891
* testcase for PR1728Chris Lattner2007-10-121-0/+26
| | | | llvm-svn: 42890
* make operator== work with non-equal sized bitvectors, as long as Chris Lattner2007-10-121-4/+15
| | | | | | | the extra bits are all zeros. This allows "010" and "010000" to be treated as equal. llvm-svn: 42889
* PPC long double. Implement a couple more conversions.Dale Johannesen2007-10-121-0/+35
| | | | llvm-svn: 42888
* add comments.Chris Lattner2007-10-121-1/+3
| | | | llvm-svn: 42887
* Printf argument checking now supports dynamically-passed precisionTed Kremenek2007-10-121-1/+6
| | | | | | specifiers. llvm-svn: 42886
* Add intrinsics for sin, cos, and pow. These use llvm_anyfloat_ty, and soDan Gohman2007-10-123-0/+47
| | | | | | | may be overloaded with vector types. And add a testcase for codegen for these. llvm-svn: 42885
* Codegen support for vector intrinsics.Dan Gohman2007-10-111-27/+114
| | | | | | | | | | | | Factor out the code that expands the "nasty scalar code" for unrolling vectors into a separate routine, teach it how to handle mixed vector/scalar operands, as seen in powi, and use it for several operators, including sin, cos, powi, and pow. Add support in SplitVectorOp for fpow, fpowi and for several unary operators. llvm-svn: 42884
* This patch implementa objective-c's @compatibilty-alias declaration.Fariborz Jahanian2007-10-1111-6/+167
| | | | llvm-svn: 42883
* Implement ppc long double->uint conversion.Dale Johannesen2007-10-112-3/+58
| | | | | | Make ppc long double constants print. llvm-svn: 42882
* Set ISD::FPOW to Expand.Dan Gohman2007-10-116-4/+21
| | | | llvm-svn: 42881
* Add runtime library names for pow.Dan Gohman2007-10-112-0/+8
| | | | llvm-svn: 42880
* Add an ISD::FPOW node type.Dan Gohman2007-10-112-3/+4
| | | | llvm-svn: 42879
* Add an explicit target triple to make this test behave as expected onDan Gohman2007-10-111-1/+1
| | | | | | non-Apple hosts. And use the count script instead of wc + grep. llvm-svn: 42878
* Provided accessors to internal allocator for ImutAVLTree and ImmutableSet.Ted Kremenek2007-10-111-0/+7
| | | | | | Added postfix ++,-- support for ImmutableSet::iterator. llvm-svn: 42877
* Add missing argument to PALIGNRDale Johannesen2007-10-111-4/+4
| | | | llvm-svn: 42874
* Fix an assertion abort on sparc. malloc(0) is allowed toGabor Greif2007-10-111-1/+3
| | | | | | return NULL. llvm-svn: 42871
* Added tail call optimization to the x86 back end. It can beArnold Schwaighofer2007-10-1116-65/+928
| | | | | | | | | | | enabled by passing -tailcallopt to llc. The optimization is performed if the following conditions are satisfied: * caller/callee are fastcc * elf/pic is disabled OR elf/pic enabled + callee is in module + callee has visibility protected or hidden llvm-svn: 42870
* Adding myselfArnold Schwaighofer2007-10-111-0/+4
| | | | llvm-svn: 42869
* Push the rewriting APIs along. Build a trivial client that replaces tabsChris Lattner2007-10-115-24/+147
| | | | | | | with x's for now. The APIs are all unimplemented, so it doesn't do anything yet! :) llvm-svn: 42868
* Implemented parsing of objctive-c protocol conforming type used in Fariborz Jahanian2007-10-113-4/+37
| | | | | | | an identifier statement. Fixed up pretty priting to print this type correctly. llvm-svn: 42866
* Next PPC long double bits. First cut at constants.Dale Johannesen2007-10-1110-18/+196
| | | | | | | | | No compile-time support for constant operations yet, just format transformations. Make readers and writers work. Split constants into 2 doubles in Legalize. llvm-svn: 42865
* Lower memcpy if it makes sense.Devang Patel2007-10-112-0/+64
| | | | llvm-svn: 42864
* add RewriterTest.cpp to xcode project.Chris Lattner2007-10-111-1/+4
| | | | llvm-svn: 42863
* clarifyChris Lattner2007-10-111-1/+2
| | | | llvm-svn: 42862
OpenPOWER on IntegriCloud