summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* fix a common crash.Chris Lattner2008-01-051-0/+4
| | | | llvm-svn: 45614
* remove a couple more unsafe xforms in the face of overflow.Chris Lattner2008-01-052-34/+0
| | | | llvm-svn: 45613
* remove the (x-y) < 0 comparison xform, it miscompiles Chris Lattner2008-01-051-11/+5
| | | | | | | things that are not equality comparisons, for example: (2147479553+4096)-2147479553 < 0 != (2147479553+4096) < 2147479553 llvm-svn: 45612
* I should not be allowed to commit when sleepy.Owen Anderson2008-01-051-2/+2
| | | | llvm-svn: 45608
* Didn't mean to commit this.Owen Anderson2008-01-051-6/+0
| | | | llvm-svn: 45607
* Didn't mean to commit this.Owen Anderson2008-01-051-1/+0
| | | | llvm-svn: 45606
* Combine MovePCtoStack + POP32r into one instruction MOVPC32r so it can be ↵Evan Cheng2008-01-055-41/+49
| | | | | | moved if needed. llvm-svn: 45605
* Move some more functionality from MRegisterInfo to TargetInstrInfo.Owen Anderson2008-01-0413-121/+130
| | | | llvm-svn: 45603
* Don't recalculate the loop info and loop dominators analyses if they'reBill Wendling2008-01-048-6/+34
| | | | | | preserved. llvm-svn: 45596
* fix typoWojciech Matyjewicz2008-01-041-1/+1
| | | | llvm-svn: 45595
* fix typoWojciech Matyjewicz2008-01-041-1/+1
| | | | llvm-svn: 45594
* Testcase with non-integer "bitfields" (in quotes,Duncan Sands2008-01-041-0/+12
| | | | | | | since they didn't actually need to be bitfields, though they are marked as such). llvm-svn: 45588
* Fix a typo in llvm.mli noticed by Alain Frisch.Gordon Henriksen2008-01-041-1/+1
| | | | llvm-svn: 45585
* Testcase for PR1386.Duncan Sands2008-01-041-0/+13
| | | | llvm-svn: 45583
* doc_code-ify some code in this doc.Bill Wendling2008-01-041-67/+126
| | | | llvm-svn: 45581
* Quote a path in the Ocaml makefile which is likely to include spaces on Windows.Gordon Henriksen2008-01-041-1/+1
| | | | llvm-svn: 45580
* Unbreak tailcall opt in JIT.Evan Cheng2008-01-041-1/+2
| | | | llvm-svn: 45576
* X86 PIC JIT support fixes: encoding bugs, add lazy pointer stubs support.Evan Cheng2008-01-046-32/+154
| | | | llvm-svn: 45575
* 80-column violations.Bill Wendling2008-01-041-10/+14
| | | | llvm-svn: 45574
* Add that this preserves some analyses.Bill Wendling2008-01-041-1/+3
| | | | llvm-svn: 45573
* Move option to enable machine LICM into LLVMTargetMachine.cpp.Bill Wendling2008-01-042-13/+8
| | | | llvm-svn: 45572
* Call the parent's getAnalysisUsage.Bill Wendling2008-01-041-0/+1
| | | | llvm-svn: 45571
* Add a really quick hack at a machine code sinking pass, enabled with ↵Chris Lattner2008-01-043-0/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --enable-sinking. It is missing validity checks, so it is known broken. However, it is powerful enough to compile this contrived code: void test1(int C, double A, double B, double *P) { double Tmp = A*A+B*B; *P = C ? Tmp : A; } into: _test1: movsd 8(%esp), %xmm0 cmpl $0, 4(%esp) je LBB1_2 # entry LBB1_1: # entry movsd 16(%esp), %xmm1 mulsd %xmm1, %xmm1 mulsd %xmm0, %xmm0 addsd %xmm1, %xmm0 LBB1_2: # entry movl 24(%esp), %eax movsd %xmm0, (%eax) ret instead of: _test1: movsd 16(%esp), %xmm0 mulsd %xmm0, %xmm0 movsd 8(%esp), %xmm1 movapd %xmm1, %xmm2 mulsd %xmm2, %xmm2 addsd %xmm0, %xmm2 cmpl $0, 4(%esp) je LBB1_2 # entry LBB1_1: # entry movapd %xmm2, %xmm1 LBB1_2: # entry movl 24(%esp), %eax movsd %xmm1, (%eax) ret woo. llvm-svn: 45570
* remove dead #includes and reorder the rest.Chris Lattner2008-01-041-10/+6
| | | | llvm-svn: 45569
* Fix PR1896Chris Lattner2008-01-042-1/+27
| | | | llvm-svn: 45568
* Change the builtin matcher to emit a decision tree, which should help out Chris Lattner2008-01-041-8/+108
| | | | | | the VC++ 'nesting depth' issue. llvm-svn: 45567
* fix nesting issues.Chris Lattner2008-01-041-1/+3
| | | | llvm-svn: 45566
* fix validation issues.Chris Lattner2008-01-041-2/+4
| | | | llvm-svn: 45565
* improve the description of types, patch by Alain FrischChris Lattner2008-01-041-38/+82
| | | | llvm-svn: 45564
* Don't let IntrinsicID be uninitialized if it doesn't match.Chris Lattner2008-01-041-1/+1
| | | | llvm-svn: 45563
* Correct order of parameters.Evan Cheng2008-01-041-2/+2
| | | | llvm-svn: 45562
* Remove the default else. This was ending in code that looked like this:Bill Wendling2008-01-031-2/+0
| | | | | | | | | | if (!strcmp(Target, "x86")) { // ... } else IntrinsicID = Intrinsic::not_intrinsic; llvm-svn: 45557
* Remove symbols that don't exist, remove tabs, fix comment typoChris Lattner2008-01-031-17/+15
| | | | llvm-svn: 45553
* Adding new files to win32 buildChuck Rose III2008-01-035-23/+47
| | | | llvm-svn: 45545
* add info on walking preds/succs of a block.Chris Lattner2008-01-031-8/+39
| | | | llvm-svn: 45537
* First steps in in X86 calling convention cleanup.Gordon Henriksen2008-01-031-121/+128
| | | | llvm-svn: 45536
* Test for handling of large bit offset from aDuncan Sands2008-01-032-0/+16
| | | | | | variable field offset. llvm-svn: 45534
* don't hoist FP additions into unconditional adds + selects. This Chris Lattner2008-01-032-0/+28
| | | | | | | could theoretically introduce a trap, but is also a performance issue. This speeds up ptrdist/ks by 8%. llvm-svn: 45533
* Fix PR1873, a problem finding stat-related symbols on linux, due toChris Lattner2008-01-031-9/+20
| | | | | | "libc_nonshared.a". Patch by Edwin Török! llvm-svn: 45532
* Trying that again.Gordon Henriksen2008-01-032-1/+1
| | | | llvm-svn: 45529
* Fix a compile error on Windows.Gordon Henriksen2008-01-031-0/+2
| | | | llvm-svn: 45528
* Change MachineRelocation::DoesntNeedFnStub to NeedStub. This fields will be usedEvan Cheng2008-01-035-66/+67
| | | | | | for non-function GV relocations that require function address stubs (e.g. Mac OS X in non-static mode). llvm-svn: 45527
* don't access element zero of an array of size zero.Chris Lattner2008-01-031-2/+2
| | | | llvm-svn: 45526
* Remove the function attr cache for intrinsics. This does not maintain the Chris Lattner2008-01-031-7/+1
| | | | | | | refcount on these correctly, and can end up referring to deleted attributes. This fixes PR1881. llvm-svn: 45525
* Don't create a new ParamAttrsList (which copies the vector) just to Chris Lattner2008-01-032-7/+10
| | | | | | get a profile. llvm-svn: 45524
* An example for which the TYPE_SIZE was being set fromDuncan Sands2008-01-031-0/+12
| | | | | | | | | the initial value, while the type fields were not (this is a qualified union type, so not all fields are always present). This resulted in the size of the corresponding LLVM type being larger than the gcc TYPE_SIZE. llvm-svn: 45522
* Test handling of records for which the fields areDuncan Sands2008-01-031-0/+7
| | | | | | not ordered by offset. llvm-svn: 45520
* move some code out of line, rearrange a bit.Chris Lattner2008-01-032-9/+11
| | | | llvm-svn: 45519
* Disallow copying explicitly.Chris Lattner2008-01-031-0/+3
| | | | llvm-svn: 45518
* Split param attr implementation out from Function.cpp into itsChris Lattner2008-01-027-282/+349
| | | | | | | own file. Don't #include ParameterAttributes.h into any major public header files: just move methods out of line as appropriate. llvm-svn: 45517
OpenPOWER on IntegriCloud