summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* lit: Allow clients to define predefined parameters.Daniel Dunbar2010-08-021-3/+2
| | | | llvm-svn: 109999
* PR7781: Fix incorrect shifting in PPCTargetLowering::LowerBUILD_VECTOR.Eli Friedman2010-08-022-10/+14
| | | | llvm-svn: 109998
* tests: Make 'lit' the default test tool. You can still use 'make check-dg' toDaniel Dunbar2010-08-022-7/+9
| | | | | | | | run the tests using DejaGNU, but not for much longer. This is a last call for DejaGNU supporters, if no one complains soon the DejaGNU support is going to die. llvm-svn: 109997
* Targets: Add InitializeNativeTargetAsmPrinter(), patch by Jan Sjodin, althoughDaniel Dunbar2010-08-011-0/+24
| | | | | | | rewritten by me to not require updating all the target initialization routine names. llvm-svn: 109996
* Fix word choice.Nick Lewycky2010-08-011-1/+1
| | | | llvm-svn: 109995
* Driver/OpenBSD: Update toolchain for compiler changes / C++; patch by JonathanDaniel Dunbar2010-08-012-1/+19
| | | | | | Gray. llvm-svn: 109994
* Driver: Keep track of a separate "install dir", which is the path where clangDaniel Dunbar2010-08-013-5/+46
| | | | | | | | | was invoked from (which may not be where the executable itself is). - This allows having e.g., /Developer/usr/bin/clang be a symlink to some other location, while still making sure the Driver finds 'as', 'ld', etc. relative to itself. llvm-svn: 109989
* Simplify.Daniel Dunbar2010-08-011-4/+2
| | | | llvm-svn: 109988
* PR7777: Set EnabledByDefault to something useful, instead of setting itEli Friedman2010-08-011-1/+1
| | | | | | | randomly. This makes us consistently show "-pedantic" as the warning option for a warning where appropriate. llvm-svn: 109987
* Kill off RequiresGlobalConstructor in favor of isConstantInitializer.John McCall2010-08-014-54/+34
| | | | | | Note some obvious false positives in the test case. llvm-svn: 109986
* PR7774: Fix undefined shifts in Alpha backend. As a bonus, this actuallyEli Friedman2010-08-012-2/+13
| | | | | | improves the generated code in some cases. llvm-svn: 109985
* Make a first pass at implementing -Wglobal-constructors. I'm worried that thisJohn McCall2010-08-015-1/+114
| | | | | | | will end up bizarrely mirroring CGExprConstant, but that might be the hazard of this feature. llvm-svn: 109984
* Preallocate vector, avoid unnecessary vector growth.Benjamin Kramer2010-08-011-0/+1
| | | | llvm-svn: 109971
* Instantiate attributes from the pattern record when instantiatingJohn McCall2010-08-014-13/+31
| | | | | | a class template. Fixes rdar://problem/8243419. llvm-svn: 109967
* Reference the personalities. Don't copy them into a new vector.Bill Wendling2010-08-011-1/+1
| | | | llvm-svn: 109966
* Fix indentation.John McCall2010-08-011-9/+9
| | | | llvm-svn: 109965
* Don't consider all local variables in C++ to mandate scope-checking, justJohn McCall2010-08-012-2/+22
| | | | | | those with initializers. llvm-svn: 109964
* Only run the jump-checker if there's a branch-protected scope *and* there'sJohn McCall2010-08-016-22/+62
| | | | | | | | | | a switch or goto somewhere in the function. Indirect gotos trigger the jump-checker regardless, because the conditions there are slightly more elaborate and it's too marginal a case to be worth optimizing. Turns off the jump-checker in a lot of cases in C++. rdar://problem/7702918 llvm-svn: 109962
* Iterate typeloc's for class bases.Nick Lewycky2010-07-311-1/+1
| | | | llvm-svn: 109961
* Fix fragile-ABI ObjC exceptions in the presence of optimization withJohn McCall2010-07-313-12/+253
| | | | | | | | | the magic of inline assembly. Essentially we use read and write hazards on the set of local variables to force flushing locals to memory immediately before any protected calls and to inhibit optimizing locals across the setjmp->catch edge. Fixes rdar://problem/8160285 llvm-svn: 109960
* Revert new AVX intrinsic tests. They are breaking buildbots and Bruno isBob Wilson2010-07-312-2006/+0
| | | | | | | | | away from a computer now. --- Reverse-merging r109881 into '.': D test/CodeGen/X86/avx-intrinsics-x86.ll D test/CodeGen/X86/avx-intrinsics-x86_64.ll llvm-svn: 109959
* build: Don't pass -avoid-version or -no-undefined on Darwin, they don't doDaniel Dunbar2010-07-311-2/+1
| | | | | | anything. llvm-svn: 109958
* build: Don't pass -avoid-version or -no-undefined on Darwin, they don't doDaniel Dunbar2010-07-313-5/+2
| | | | | | anything. llvm-svn: 109957
* Silence some -Asserts uninitialized variable warnings.Daniel Dunbar2010-07-312-2/+3
| | | | llvm-svn: 109956
* llc: Add -mc-relax-all.Michael J. Spencer2010-07-311-0/+11
| | | | llvm-svn: 109954
* Speculatively revert r108614, "Another attempt at getting the clang self-host toDaniel Dunbar2010-07-312-58/+0
| | | | | | | like my instcombine patch.", in an attempt to fix Clang i386 bootstrap. - Also PR7719. llvm-svn: 109953
* Parser: Add support for #pragma align, which is just another spelling of #pragmaDaniel Dunbar2010-07-316-17/+55
| | | | | | options align. llvm-svn: 109952
* Add const to some methods and change TestMergedProgram to return the mergedRafael Espindola2010-07-313-23/+32
| | | | | | module and take a const BugDriver. llvm-svn: 109951
* doxygenize argument accessorsGabor Greif2010-07-311-0/+10
| | | | llvm-svn: 109950
* MC: Remove HasAbsolutizedSet from WindowsX86AsmBackend.Michael J. Spencer2010-07-311-1/+0
| | | | llvm-svn: 109949
* Move newlines before inline jumptables from the asm strings in .td files toBob Wilson2010-07-314-9/+9
| | | | | | | the jtblock_operand print methods. This avoids extra newlines in the disassembler's output. PR7757. llvm-svn: 109948
* Add relax all support to the COFF object streamer.Michael J. Spencer2010-07-313-4/+8
| | | | llvm-svn: 109947
* Add support for disassembling VMVN (immediate) instructions. PR7747.Bob Wilson2010-07-312-0/+7
| | | | llvm-svn: 109946
* After a lengthy design discussion, add support for "ownership attributes" ↵Ted Kremenek2010-07-3110-24/+640
| | | | | | for malloc/free checking. Patch by Andrew McGregor! llvm-svn: 109939
* Added support for rewriting objc_msgSend so we canSean Callanan2010-07-315-67/+302
| | | | | | | | | | | call Objective-C methods from expressions. Also added some more logging to the function-calling thread plan so that we can see the registers when a function finishes. Also documented things maybe a bit better. llvm-svn: 109938
* Implement dependency analysis for the precompiled preamble. If any ofDouglas Gregor2010-07-314-32/+125
| | | | | | | the files in the precompiled preamble have changed since it was build, force the preamble to be rebuilt. llvm-svn: 109937
* The BlockExtractorPass() constructor was not reading the BlockFile and that wasRafael Espindola2010-07-313-8/+5
| | | | | | | | | | | | | | exactly what bugpoint expected it to do. There was also only one user of BlockExtractorPass(const std::vector<BasicBlock*> &B), so just remove it and make BlockExtractorPass read BlockFile. This fixes bugpoint's block extraction. Nick, please review. llvm-svn: 109936
* Add an initial implementation of PHI translation for LazyValueInfo. This ↵Owen Anderson2010-07-301-35/+72
| | | | | | | | involves rolling back some of my earlier data structure improvements until I can ensure that there are no iterator invalidation problems. llvm-svn: 109935
* Add -disable-shifter-op to disable isel of shifter ops. On Cortex-a9 the ↵Evan Cheng2010-07-301-0/+11
| | | | | | shifts cost extra instructions so it might be better to emit them separately to take advantage of dual-issues. llvm-svn: 109934
* Add a check in the ARM disassembler for NEON instructions that wouldBob Wilson2010-07-301-5/+9
| | | | | | | reference registers past the end of the NEON register file, and report them as invalid instead of asserting when trying to print them. PR7746. llvm-svn: 109933
* buildit adjustmentHoward Hinnant2010-07-301-1/+1
| | | | llvm-svn: 109931
* Fixed debugserver to not exit when we are able to spawn the process, yet notGreg Clayton2010-07-304-55/+39
| | | | | | | | launch it due to not being able to get the task port. A SIGHUP was killing us and also an error string wasn't properly being passed along. Got rid of a class error variable that can only lead to multi-threaded crashes. llvm-svn: 109930
* Update checker build.Ted Kremenek2010-07-301-1/+1
| | | | llvm-svn: 109907
* Add a "Compare" flag to the target instruction descriptor. This will be usedBill Wendling2010-07-305-1/+11
| | | | | | | later to identify and possibly remove superfluous compare instructions -- those that are testing for and setting a status flag that should already be set. llvm-svn: 109901
* We can do better when reporting the status of one-liner script execution.Johnny Chen2010-07-307-16/+37
| | | | | | | | | Change the prototype of ScriptInterpreter::ExecuteOneLine() to return bool instead of void and take one additional parameter as CommandReturnObject *. Propagate the status of one-liner execution back appropriately. llvm-svn: 109899
* Test case for PR7763.Tom Care2010-07-301-0/+14
| | | | llvm-svn: 109895
* Let C lib supply stdbool.hHoward Hinnant2010-07-301-44/+0
| | | | llvm-svn: 109894
* Uncomment unfinished work bailout in IdempotentOperationsChecker.Tom Care2010-07-301-2/+2
| | | | llvm-svn: 109893
* PPC doesn't supported VLA with large alignment. This wasDale Johannesen2010-07-302-2/+4
| | | | | | | | formerly rejected by the FE, so asserted in the BE; now the FE only warns, so we treat it as a legitimate fatal error in PPC BE. This means the test for the feature won't pass, so it's xfail'd. llvm-svn: 109892
* Move MaximumAlignment to be a member of the Value class.Dan Gohman2010-07-303-6/+7
| | | | llvm-svn: 109891
OpenPOWER on IntegriCloud