summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* don't pass -Wl,-exported_symbol -Wl,_main to the linker when building onChris Lattner2009-03-101-0/+6
| | | | | | Tiger. PR3743 llvm-svn: 66550
* Tweak the DejaGNU voodoo to match Bill's advice.Stuart Hastings2009-03-101-2/+2
| | | | llvm-svn: 66547
* PR3478: raw_ostream should not buffer stderrDaniel Dunbar2009-03-102-5/+23
| | | | | | | - Add unbuffered flag to raw_ostream, forwarded by raw_fd_ostream and used by raw_stderr_ostream. llvm-svn: 66545
* Add C++ marker.Daniel Dunbar2009-03-101-1/+1
| | | | llvm-svn: 66543
* Do not attempt to do parial redundancy elimination on void values.John Criswell2009-03-102-3/+86
| | | | | | | Also fixed a punctuation error in the header comment. This fixes PR3775. llvm-svn: 66542
* Global variables don't have a corresponding llvm.dbg.declare, yet it is possibleTorok Edwin2009-03-105-7/+156
| | | | | | | | to obtain debug info about them. Introduce helpers to access debug info for global variables. Also introduce a helper that works for both local and global variables. llvm-svn: 66541
* Mark the Defs and Uses of STATUS register correctly, plus some reformatting.Sanjiv Gupta2009-03-101-41/+61
| | | | llvm-svn: 66540
* If a function is marked alwaysinline, it must be inlined (possibly for ↵Evan Cheng2009-03-102-7/+22
| | | | | | correctness). Do so even if the callee has dynamic alloca and the caller doesn't. llvm-svn: 66539
* Add radar number.Bill Wendling2009-03-101-0/+2
| | | | llvm-svn: 66534
* wire up support for emitting "special" values from inline asmChris Lattner2009-03-103-2/+27
| | | | | | format strings with the standard ${:foo} syntax. llvm-svn: 66527
* Add more information to the EFLAGS note.Dan Gohman2009-03-101-4/+12
| | | | llvm-svn: 66515
* Check for warnings about inappropriate weak_imports.Stuart Hastings2009-03-101-0/+22
| | | | | | Darwin-specific; marked XFAIL for others. llvm-svn: 66514
* Add a note about EFLAGS optimization.Dan Gohman2009-03-091-0/+15
| | | | llvm-svn: 66508
* Ignore debug info while evaluating function.Devang Patel2009-03-092-1/+105
| | | | llvm-svn: 66490
* Don't record the increment instruction; just recompute it from the PhiDan Gohman2009-03-091-33/+15
| | | | | | | if needed. This simplifies the code a little, and is needed for an upcoming refactoring. llvm-svn: 66479
* Fix PR3724 by searching for the largest free block when Chris Lattner2009-03-091-2/+19
| | | | | | | | | allocating memory in the JIT. This is insanely inefficient, but hey, most people implement their own memory managers anyway. Patch by Eric Yew! llvm-svn: 66472
* Remove llvm.dbg.global_variables also.Devang Patel2009-03-091-0/+10
| | | | llvm-svn: 66471
* Fix a few more places where induction variable types were usedDan Gohman2009-03-091-2/+2
| | | | | | where memory access types are needed. llvm-svn: 66470
* Use ReplacedTy instead of recomputing the same value.Dan Gohman2009-03-091-1/+1
| | | | llvm-svn: 66469
* Use LoopInfo's getLoopLatch() instead of doing what it does manualy.Dan Gohman2009-03-091-12/+4
| | | | llvm-svn: 66467
* Don't use an induction variable type as a memory access type.Dan Gohman2009-03-091-3/+5
| | | | | | Use VoidTy instead, to be properly conservative. llvm-svn: 66463
* Factor out the code that determines the memory access typeDan Gohman2009-03-091-18/+29
| | | | | | of an instruction into a helper function. llvm-svn: 66460
* Clarify wording, patch by Stefanus Du Toit!Chris Lattner2009-03-091-5/+7
| | | | llvm-svn: 66458
* Add helper pass to remove llvm.dbg.declare intrinsics.Devang Patel2009-03-092-2/+69
| | | | llvm-svn: 66454
* Move the sorting of the StrideOrder array earlier so that it doesn'tDan Gohman2009-03-091-4/+3
| | | | | | have to be done twice. llvm-svn: 66449
* Delete the isOnlyStride argument, which is unused.Dan Gohman2009-03-091-9/+4
| | | | llvm-svn: 66446
* Tidy some LSR debug output: announce the loop it's about to processDan Gohman2009-03-091-6/+6
| | | | | | before it does any processing. llvm-svn: 66443
* ARM target now also recognize triplets like thumbv6-apple-darwin and set ↵Evan Cheng2009-03-092-14/+24
| | | | | | thumb mode and arch subversion. Eventually thumb triplets will go way and replaced with function notes. llvm-svn: 66435
* Fix PR3763 by using proper APInt methods instead of uint64_t's.Chris Lattner2009-03-092-3/+29
| | | | llvm-svn: 66434
* make the Op<N> methods protected, how it was intended to beGabor Greif2009-03-091-0/+2
| | | | llvm-svn: 66430
* ARM isLegalAddressImmediate should check if type is a simple type now that ↵Evan Cheng2009-03-092-0/+16
| | | | | | optimizer can create values of funky scalar types. llvm-svn: 66429
* Yet another case where the spiller marked two uses of the same register on ↵Evan Cheng2009-03-092-19/+28
| | | | | | the same instruction as kill. This fixes PR3706. llvm-svn: 66428
* Re-apply 66315, but restrict it to Darwin only.Evan Cheng2009-03-091-0/+10
| | | | llvm-svn: 66427
* Revert r66415. It's causing failures during bootstrap builds:Bill Wendling2009-03-096-34/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions. /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmgcc42.roots/llvmgcc42~obj/src/gcc/libgcc2.c: In function '__muldi3': /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmgcc42.roots/llvmgcc42~obj/src/gcc/libgcc2.c:567: internal compiler error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions. /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmgcc42.roots/llvmgcc42~obj/src/gcc/libgcc2.c: In function '__lshrdi3': /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmgcc42.roots/llvmgcc42~obj/src/gcc/libgcc2.c:421: internal compiler error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions. make[5]: *** [libgcc/./_lshrdi3.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[5]: *** [libgcc/./_muldi3.o] Error 1 make[5]: *** [libgcc/./_negdi2.o] Error 1 --- Reverse-merging (from foreign repository) r66415 into '.': U include/llvm/BasicBlock.h U include/llvm/ADT/ilist_node.h U include/llvm/CodeGen/SelectionDAG.h U include/llvm/CodeGen/MachineFunction.h U include/llvm/CodeGen/MachineBasicBlock.h U include/llvm/Function.h llvm-svn: 66426
* Add a constructor for BuildVectorSDNode and revert the temporary workaroundBob Wilson2009-03-091-4/+2
| | | | | | | | | from 66280. I was unable to verify this with gcc-3.4.6, but with gcc-3.3 it avoids the "base class with only non-default constructor in class without a constructor" warning. Apparently that warning was promoted to an error in gcc-3.4. llvm-svn: 66424
* This debug info special case should no longerDuncan Sands2009-03-091-4/+0
| | | | | | | be needed now that these intrinsics are marked as not accessing memory. llvm-svn: 66420
* just remove the use_empty() check entirely, the only reason itChris Lattner2009-03-091-14/+8
| | | | | | | existed was for llvm-gcc 3.4 (which used the __main hack) which is really really long dead. llvm-svn: 66417
* in builds without asserts we do not need to allocate the Next pointer in ↵Gabor Greif2009-03-096-15/+34
| | | | | | "ghostly" sentinels llvm-svn: 66415
* Regenerate.Nick Lewycky2009-03-092-600/+0
| | | | llvm-svn: 66407
* Remove configurey-fu to autodetect hash_map and hash_set now that they areNick Lewycky2009-03-0912-772/+0
| | | | | | no longer used in LLVM. llvm-svn: 66406
* Make the code generator rip of dead constant expr uses before decidingChris Lattner2009-03-091-10/+16
| | | | | | | | whether a global is dead or not. This should fix PR3749 - linker adds spurious use to appending globals. I can't reasonably add a testcase for this, because the bc writer/reader strip dead constant users. llvm-svn: 66404
* make GlobalValue::removeDeadConstantUsers() const.Chris Lattner2009-03-092-8/+8
| | | | llvm-svn: 66403
* testcase for PR3744Chris Lattner2009-03-091-0/+14
| | | | llvm-svn: 66401
* don't allow hash_map or hash_set.Chris Lattner2009-03-091-18/+7
| | | | llvm-svn: 66400
* Ignore debug intrinsics when computing dependences.Owen Anderson2009-03-091-0/+6
| | | | llvm-svn: 66399
* reimplement AliasSetTracker in terms of DenseMap instead of hash_map,Chris Lattner2009-03-093-75/+93
| | | | | | hopefully no functionality change. llvm-svn: 66398
* add a #include to improve portability to windows, as requested byChris Lattner2009-03-091-0/+1
| | | | | | someone on llvmdev. llvm-svn: 66397
* Pass in a std::string when getting the names of debugging things. This cuts downBill Wendling2009-03-098-64/+132
| | | | | | on the number of times a std::string is created and copied. llvm-svn: 66396
* fix Analysis/BasicAA/2004-12-08-BasicAACrash.ll by allowing opaque types.Chris Lattner2009-03-091-2/+4
| | | | llvm-svn: 66395
* Fix two classes of bugs. First:Chris Lattner2009-03-092-18/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | validate an invariant so that the asmparser rejects a bad construct instead of the verifier. Before: llvm-as: assembly parsed, but does not verify as correct! Invalid struct return type! i64 (%struct.Type*, %struct.Type*)* @foo after: llvm-as: t.ll:5:8: functions with 'sret' argument must return void define i64 @foo(%struct.Type* noalias nocapture sret %agg.result, %struct.Type* nocapture byval %t) nounwind { ^ Second, check that void is only used where allowed (in function return types) not in arbitrary places, fixing PR3747 - Crash in llvm-as with void field in struct. We now reject that example with: $ llvm-as t.ll llvm-as: t.ll:1:12: struct element can not have void type %x = type {void} ^ llvm-svn: 66394
OpenPOWER on IntegriCloud