summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Also don't hardcode the order on this test.Rafael Espindola2013-10-141-2/+2
| | | | llvm-svn: 192603
* Basic blocks typically have few predecessors. Use a SmallDenseMap toChris Lattner2013-10-141-3/+3
| | | | | | avoid a heap allocation when this is the case. llvm-svn: 192602
* Don't hardcode the order of the aliases.Rafael Espindola2013-10-141-14/+14
| | | | llvm-svn: 192601
* [msan] Test for r192599.Evgeniy Stepanov2013-10-141-0/+23
| | | | llvm-svn: 192600
* [msan] Instrument x86.*_cvt* intrinsics.Evgeniy Stepanov2013-10-142-28/+215
| | | | | | | | Currently MSan checks that arguments of *cvt* intrinsics are fully initialized. That's too much to ask: some of them only operate on lower half, or even quarter, of the input register. llvm-svn: 192599
* Reduce double set lookups by using the result of insert.Benjamin Kramer2013-10-142-10/+8
| | | | | | No functionality change. llvm-svn: 192598
* [AArch64] Add support for NEON scalar integer compare instructions.Chad Rosier2013-10-143-5/+198
| | | | llvm-svn: 192597
* [AArch64] Add support for NEON scalar integer compare instructions.Chad Rosier2013-10-146-0/+497
| | | | llvm-svn: 192596
* Revert my commit 191617. It added a clang warning (Thanks to Ed Maste). Add ↵Sylvestre Ledru2013-10-141-0/+2
| | | | | | a comment llvm-svn: 192595
* Do not use typo correction that is unaccessible.Serge Pavlov2013-10-144-4/+28
| | | | | | | | This patch fixes PR17019. When doing typo correction, Sema::CorrectTypo uses correction already seen for the same typo. This causes problems if that correction is from another scope and cannot be accessed in the current. llvm-svn: 192594
* [lsan] Support ASan's stack-use-after-return mode in LSan.Sergey Matveev2013-10-148-4/+69
| | | | | | Treat the fake stack as live memory. llvm-svn: 192593
* [msan] Remove a long-outdated comment.Evgeniy Stepanov2013-10-141-22/+0
| | | | llvm-svn: 192592
* Add Cortex-A57 supportBernard Ogden2013-10-143-1/+23
| | | | llvm-svn: 192591
* Add subtarget feature support for Cortex-A53Bernard Ogden2013-10-146-10/+28
| | | | | | | Some previous implicit defaults have changed, for example FP and NEON are now on by default. llvm-svn: 192590
* [mips][msa] Direct Object Emission support for BIT instructions.Matheus Almeida2013-10-143-74/+280
| | | | | | | | | | | | | | | | | | List of instructions: bclri.{b,h,w,d} binsli.{b,h,w,d} binsri.{b,h,w,d} bnegi.{b,h,w,d} bseti.{b,h,w,d} sat_s.{b,h,w,d} sat_u.{b,h,w,d} slli.{b,h,w,d} srai.{b,h,w,d} srari.{b,h,w,d} srli.{b,h,w,d} srlri.{b,h,w,d} llvm-svn: 192589
* [mips][msa] Direct Object Emission support for VEC instructions.Matheus Almeida2013-10-143-67/+115
| | | | | | | List of instructions: and.v, bmnz.v, bmz.v, bsel.v, nor.v, or.v, xor.v. llvm-svn: 192588
* [mips][msa] Direct Object Emission of INSVE.{b,h,w,d}.Matheus Almeida2013-10-142-14/+36
| | | | llvm-svn: 192587
* [mips][msa] Direct Object Emission for the majority of the ELM instructions.Matheus Almeida2013-10-143-31/+157
| | | | | | | | | | List of instructions: copy_s.{b,h,w} copy_u.{b,h,w} sldi.{b,h,w,d} splati.{b,h,w,d} llvm-svn: 192586
* [asan] Improve thread lifetime tracking on POSIX systems.Sergey Matveev2013-10-147-3/+70
| | | | | | | | Call AsanThread::Destroy() from a late-running TSD destructor. Previously we called it before any user-registered TSD destructors, which caused false positives in LeakSanitizer. llvm-svn: 192585
* [msan] Intercept strto(d|f|ld)_l and glibc-specific __strto(d|f|ld)_l.Evgeniy Stepanov2013-10-142-0/+77
| | | | llvm-svn: 192583
* [mips][msa] Direct Object Emission of INSERT.{B,H,W} instruction.Matheus Almeida2013-10-144-14/+190
| | | | | | | | | INSERT is the first type of MSA instruction that requires a change to the way MSA registers are parsed. This happens because MSA registers may be suffixed by an index in the form of an immediate or a general purpose register. The changes to parseMSARegs reflect that requirement. llvm-svn: 192582
* [ASan] Don't die with internal ASan error on large buffer overflowsAlexey Samsonov2013-10-145-10/+40
| | | | | | | | | | | | | | | | | | | | Summary: Out-of-bound access may touch not-yet allocated or already freed and recycled from quarantine chunks. We should treat this situation as a "free-range memory access" and avoid printing any data about that irrelevant chunk (which may be inconsistent). This should fix https://code.google.com/p/address-sanitizer/issues/detail?id=183 Reviewers: kcc Reviewed By: kcc CC: timurrrr, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1893 llvm-svn: 192581
* Remove added file for the test commitDeepak Panickal2013-10-141-0/+0
| | | | llvm-svn: 192580
* Test commitDeepak Panickal2013-10-141-0/+0
| | | | llvm-svn: 192579
* Suppress "using extended field designator is an extension" warning in use of ↵Andy Gibbs2013-10-142-8/+10
| | | | | | offsetof. llvm-svn: 192578
* [msan] Regression test for r192575.Evgeniy Stepanov2013-10-141-0/+13
| | | | llvm-svn: 192577
* tsan: allow to override OnPrint() callback in Go runtimeDmitry Vyukov2013-10-141-5/+10
| | | | llvm-svn: 192576
* [msan] Fix handling of scalar select of vectors.Evgeniy Stepanov2013-10-142-4/+23
| | | | llvm-svn: 192575
* [Sanitizer] Return implementation of StackTrace::CopyFrom to headerAlexey Samsonov2013-10-142-7/+6
| | | | llvm-svn: 192574
* Fixed a bug in dynamic allocation memory on stack.Elena Demikhovsky2013-10-145-11/+77
| | | | | | | | The alignment of allocated space was wrong, see Bugzila 17345. Done by Zvi Rackover <zvi.rackover@intel.com>. llvm-svn: 192573
* Fix use-after-free in PPCallbacksTest detected by ASan bootstrap botAlexey Samsonov2013-10-141-4/+4
| | | | llvm-svn: 192572
* Set the architecture from the remote executable when it's not set so the ↵Carlo Kok2013-10-141-0/+9
| | | | | | register info can be loaded properly (and thus the callstacks work) llvm-svn: 192571
* Fixed "ArgSize may be used uninitialised" error when compiling with gcc.Andy Gibbs2013-10-141-1/+1
| | | | llvm-svn: 192570
* tsan: allow to override OnFinalize() in front-ends that does not support ↵Dmitry Vyukov2013-10-141-1/+5
| | | | | | weak functions (Go) llvm-svn: 192569
* Create classes to reduce the size of the tablegen entries for the CRC32 ↵Craig Topper2013-10-141-66/+33
| | | | | | instructions. llvm-svn: 192568
* Allow pinsrw/pinsrb/pextrb/pextrw/movmskps/movmskpd/pmovmskb/extractps ↵Craig Topper2013-10-148-96/+118
| | | | | | instructions to parse either GR32 or GR64 without resorting to duplicating instructions. llvm-svn: 192567
* Add disassembler support for SSE4.1 register/register form of PEXTRW. There ↵Craig Topper2013-10-142-0/+13
| | | | | | is a shorter encoding that was part of SSE2, but a memory form was added in SSE4.1. This is the register form of that encoding. llvm-svn: 192566
* Mark MOVMSKPS/MOVMSKPD/VPINSRWrr64i as AsmParserOnly to remove them from the ↵Craig Topper2013-10-142-2/+18
| | | | | | disassembler tables. Add PINSRWrr64i to complement the AVX version. llvm-svn: 192565
* Windows: Fix a typo in an assertDavid Majnemer2013-10-141-6/+3
| | | | llvm-svn: 192564
* Keep track of indentation levels in static initializers for correct ↵Alexander Kornienko2013-10-144-28/+51
| | | | | | | | | | | | | | | | | | | indentation with tabs. Summary: Store IndentationLevel in ParentState and use it instead of the Line::Level when indening. Also fixed incorrect indentation level calculation in formatFirstToken. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D1797 llvm-svn: 192563
* Don't use 64-bit versions of MOVMSKPD in CodeGen. The instructions only ↵Craig Topper2013-10-141-4/+8
| | | | | | produce a 1-bit result so we can just use SUBREG_TO_REG to extend the 32-bit versions. llvm-svn: 192562
* Windows: Don't bother with pinning Kernel32.dllDavid Majnemer2013-10-141-3/+1
| | | | | | We don't delay load it so it shouldn't be going anywhere. llvm-svn: 192561
* Merge common pointers for redeclarations of the same template across modules.Richard Smith2013-10-134-0/+13
| | | | llvm-svn: 192560
* Don't get confused by a virt-specifier after a trailing-return-type - it's notRichard Smith2013-10-132-5/+25
| | | | | | an accidentally-included name for the declarator. llvm-svn: 192559
* MC: Don't assume incoming StringRef's are null terminated.Will Dietz2013-10-133-13/+8
| | | | | | | | | | This can happen when processing command line arguments, which are often stored as std::string's and later turned into StringRef's via std::string::data(). Unfortunately this is not guaranteed to return a null-terminated string until C++11, causing breakage on platforms that don't do this. llvm-svn: 192558
* R600: improve dump of S_WAITCNTVincent Lejeune2013-10-134-1/+58
| | | | llvm-svn: 192557
* R600/SI: Add SinkingPass before ISelVincent Lejeune2013-10-131-0/+1
| | | | llvm-svn: 192556
* R600/SI: Support byval argumentsVincent Lejeune2013-10-132-2/+8
| | | | llvm-svn: 192555
* R600: Use masked read sel for texture instructionsVincent Lejeune2013-10-132-8/+12
| | | | llvm-svn: 192554
* R600: fix swizzle exportVincent Lejeune2013-10-133-6/+156
| | | | llvm-svn: 192553
OpenPOWER on IntegriCloud