summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Stack Coloring: When searching for disjoint regions, do not compare ↵Nadav Rotem2012-09-101-1/+1
| | | | | | intervals twice or to theirself. llvm-svn: 163508
* Stack Coloring: Add support for multiple regions of the same slot, within a ↵Nadav Rotem2012-09-102-23/+61
| | | | | | single basic block. llvm-svn: 163507
* The VPSHUFB 256-bit instruction may be generated when one of input vector is ↵Elena Demikhovsky2012-09-102-5/+39
| | | | | | | | undefined or zeroinitializer. I've added the "zeroinitializer" case in this patch. llvm-svn: 163506
* Make helper functions static.Benjamin Kramer2012-09-102-5/+5
| | | | llvm-svn: 163505
* Make helper function static.Benjamin Kramer2012-09-101-2/+1
| | | | llvm-svn: 163504
* Move bypassSlowDivision into the llvm namespace.Benjamin Kramer2012-09-102-7/+13
| | | | llvm-svn: 163503
* c bindings: revert LLVMConstInlineAsm to always use the default asm dialect.Benjamin Kramer2012-09-101-4/+2
| | | | | | | | - The C API should be stable - InlineAsm::AsmDialect is not exposed to C - The function didn't match the prototype so this was unreachable code llvm-svn: 163502
* GTest on Android needs a custom tmpdir path.Evgeniy Stepanov2012-09-101-0/+4
| | | | llvm-svn: 163501
* Wrong crtbegin/crtend pair used for PIE on Android.Evgeniy Stepanov2012-09-102-2/+23
| | | | | | | | Android uses the same flavour of crt*.o for PIE and non-PIE executables, and a different one for DSOs. GNU/Linux, on the other hand, uses one set of crt*.o for non-PIE executables, and another for both PIE executables and DSOs. llvm-svn: 163500
* [asan] There is no __libc_malloc on Android.Evgeniy Stepanov2012-09-101-3/+3
| | | | llvm-svn: 163498
* Revert Ted's r163489 and r163490, due to breakage.NAKAMURA Takumi2012-09-102-2911/+2788
| | | | | | | r163489, "Take another crack at stabilizing the emission order of analyzer" r163490, "Use isBeforeInTranslationUnitThan() instead of operator<." llvm-svn: 163497
* Fix a typo in the comment.Nadav Rotem2012-09-101-2/+2
| | | | llvm-svn: 163496
* Add an assertion that the frame index is indeed inside the declared lifetime ↵Nadav Rotem2012-09-101-0/+16
| | | | | | region. llvm-svn: 163495
* Teach the DAGBuilder about lifetime markers which are generated from PHINodes.Nadav Rotem2012-09-102-18/+57
| | | | llvm-svn: 163494
* Allow to call strchr() from __asan_init().Alexander Potapenko2012-09-101-0/+5
| | | | | | Fixes PR13794. llvm-svn: 163493
* MIPS: Use -march=arch option to select either generic MIPS ISA,Simon Atanasyan2012-09-103-56/+48
| | | | | | | | or the name of a particular processor. The patch reviewed by Douglas Gregor. llvm-svn: 163492
* Fix style issues from r163302 pointed out by Evan.Hans Wennborg2012-09-101-18/+15
| | | | llvm-svn: 163491
* Use isBeforeInTranslationUnitThan() instead of operator<.Ted Kremenek2012-09-101-7/+7
| | | | llvm-svn: 163490
* Take another crack at stabilizing the emission order of analyzerTed Kremenek2012-09-102-2788/+2911
| | | | | | | | | | | | | | diagnostics without using FoldingSetNodeIDs. This is done by doing a complete recursive comparison of the PathDiagnostics. Note that the previous method of comparing FoldingSetNodeIDs did not end up relying on unstable things such as pointer addresses, so I suspect this may still have some issues on various buildbots because I'm not sure if the true source of non-determinism has been eliminated. The tests pass for me, so the only way to know is to commit this change and see what happens. llvm-svn: 163489
* Have PathDiagnosticPiece::getString() return a StringRef insteadTed Kremenek2012-09-101-1/+1
| | | | | | of a std::string. llvm-svn: 163488
* Indent the "message" key in analyzer plist output.Ted Kremenek2012-09-101-0/+1
| | | | llvm-svn: 163487
* Add handy script for updating plist FileCheck expected output forTed Kremenek2012-09-101-0/+51
| | | | | | analyzer tests. llvm-svn: 163486
* Move spaces to the right places. No functionality change.Nick Lewycky2012-09-091-4/+4
| | | | llvm-svn: 163485
* Add missing space before {. No functionality change.Nick Lewycky2012-09-091-1/+1
| | | | llvm-svn: 163484
* Teach DAG combiner to constant fold fneg of a BUILD_VECTOR of constants.Craig Topper2012-09-092-3/+27
| | | | llvm-svn: 163483
* RawCommentList: don't copy the whole new RawComment to LastComment each time.Dmitri Gribenko2012-09-092-17/+15
| | | | | | We just need a single SourceLocation for previous comment end. llvm-svn: 163482
* Fixing a type width warning with MSVC.Aaron Ballman2012-09-091-1/+1
| | | | llvm-svn: 163481
* DSE: Poking holes into a SetVector is expensive, avoid it if possible.Benjamin Kramer2012-09-091-5/+5
| | | | llvm-svn: 163480
* Remove dead method ProgramState::MarshalState().Ted Kremenek2012-09-092-15/+0
| | | | llvm-svn: 163479
* LiveVariables: Compute a set of defs and kills to speed up updating LV ↵Benjamin Kramer2012-09-091-4/+30
| | | | | | | | | | | | | | | during critical edge splitting. Previously we checked if the register is def'd in a block via the def/use list a nd walked the list of kills to check if the register is killed in a block. Both of these checks can be made much cheaper by walking the block first and recording all defs and kills. This reduces the compile time of the test case from PR13651 from 40s to 15s at -O2. The compile time is still dominated by LV updating but now the main culprit is SparseBitVector's slowness. llvm-svn: 163478
* Added missing const.Abramo Bagnara2012-09-092-2/+2
| | | | llvm-svn: 163477
* Fixed support for disabled wchar_t and added an appropriate test.Abramo Bagnara2012-09-092-3/+10
| | | | llvm-svn: 163476
* Add instruction selection for ffloor of vectors when SSE4.1 or AVX is enabled.Craig Topper2012-09-083-20/+79
| | | | llvm-svn: 163473
* SCEVValidator: Add debug output that gives the reason for invalid expressionsTobias Grosser2012-09-082-39/+100
| | | | llvm-svn: 163472
* Remove dead codeTobias Grosser2012-09-082-127/+0
| | | | | | This code has been replaced by the SCEVValidator a while ago. llvm-svn: 163471
* lit: Util.which(): Use os.path.isfile() instead of os.path.exists(), or it ↵NAKAMURA Takumi2012-09-081-1/+1
| | | | | | | | hits to the directory. For example, which('loop-convert') returns 'loop-convert' when the directory 'loop-convert' exists. llvm-svn: 163469
* clang/test/Sema/format-strings-scanf.c: Relax a couple of expressions with ↵NAKAMURA Takumi2012-09-081-2/+2
| | | | | | | | | expected-warning-re to let matched for Win32 targets. - format specifies type 'wchar_t **' (aka 'int **') but the argument has type 'float *' - format specifies type 'wchar_t **' (aka 'unsigned short **') but the argument has type 'float *' llvm-svn: 163468
* Add some ARM EABI preprocessor builtins testsAnton Korobeynikov2012-09-081-0/+209
| | | | llvm-svn: 163467
* ScopGraphPrinter: Escape error messageTobias Grosser2012-09-081-0/+16
| | | | | | Otherwise a '"' in the error message, yields an invalid .dot file. llvm-svn: 163466
* Do not construct StringRef from NULL argument.Anton Korobeynikov2012-09-081-1/+1
| | | | llvm-svn: 163465
* Provide some ACLE C defines. This should fix PR13796Anton Korobeynikov2012-09-081-4/+19
| | | | llvm-svn: 163464
* Use 256-bit alignment for constant pool value for 256-bit vector FNEG lowering.Craig Topper2012-09-081-2/+3
| | | | llvm-svn: 163463
* Try disabling the FileCheck part of the retain-release.m test to see if it ↵Ted Kremenek2012-09-081-2/+4
| | | | | | fixes the buildbots. llvm-svn: 163462
* Add support for lowering FABS of vector types.Craig Topper2012-09-082-12/+63
| | | | llvm-svn: 163461
* Fix bug in BugReporter::RemoveUneededCalls() where "prunable"Ted Kremenek2012-09-086-6/+901
| | | | | | | PathDiagnosticEventPieces were *always* pruned. Instead, they are suppose to only be pruned if the entire call gets pruned. llvm-svn: 163460
* When a bad UTF-8 encoding or bogus escape sequence is encountered in aRichard Smith2012-09-088-80/+167
| | | | | | | string literal, produce a diagnostic pointing at the erroneous character range, not at the start of the literal. llvm-svn: 163459
* Set operation action for FFLOOR to Expand for all vector types for X86. Set ↵Craig Topper2012-09-083-0/+33
| | | | | | FFLOOR of v4f32 to Expand for ARM. v2f64 was already correct. llvm-svn: 163458
* Revert "Add -exact-match option to FileCheck to allow clients to do exact ↵Ted Kremenek2012-09-081-5/+1
| | | | | | | | | matches without using regular expressions." Turns out I did not need it after all. If we find a use for it in the future, we can resurrect it. llvm-svn: 163457
* This test does not require --exact-match from FileCheck.Ted Kremenek2012-09-081-1/+1
| | | | llvm-svn: 163456
* Attempt (again) to stabilize the order of the emission of diagnosticsTed Kremenek2012-09-0810-12595/+35618
| | | | | | | of the analyzer by using the FullProfile() of a PathDiagnostic for ordering them. llvm-svn: 163455
OpenPOWER on IntegriCloud