summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [mips] Custom-lower i64 MULHS and MULHU nodes. Remove the code which selectsAkira Hatanaka2013-04-112-64/+4
| | | | | | | | multiply instructions in MipsSEDAGToDAGISel. This patch was supposed to be part of r178403. llvm-svn: 179314
* [mips] Clean up MipsISelDAGToDAG.cpp and MipsISelLowering.cpp.Akira Hatanaka2013-04-113-13/+12
| | | | | | | | | | - Rename function. - Pass iterator by value. - Remove header include. No functionality changes. llvm-svn: 179312
* Widen the checks in the ms abi memptr test to work under NDEBUGReid Kleckner2013-04-111-5/+5
| | | | llvm-svn: 179311
* Exclude test30 of Sema/return.c for Hexagon since setjmp.h include fileJyotsna Verma2013-04-111-0/+2
| | | | | | is unavailable for Hexagon. llvm-svn: 179310
* Add a new -mimplicit-float option for symmetry with -mno-implicit-float.Bob Wilson2013-04-113-1/+11
| | | | | | | This new option is the default, but it is useful to have a flag to override -mno-implicit-float by putting -mimplicit-float later on the command line. llvm-svn: 179309
* Follow Jordan's advice and use {{^}} and {{$}} for this testReid Kleckner2013-04-111-4/+4
| | | | | | | This is a better way of ensuring that we match the output of the rewriter and not the CHECK line. llvm-svn: 179308
* [asan] inline flags(), up to 1% perf gain on malloc-intensive codeKostya Serebryany2013-04-112-6/+5
| | | | llvm-svn: 179307
* [asan] make heavy_uar_test even heavierKostya Serebryany2013-04-111-5/+13
| | | | llvm-svn: 179306
* [ms-cxxabi] Implement member pointer emission and dereferencingReid Kleckner2013-04-115-79/+483
| | | | | | | | | | | | | | | | | | | | | Summary: Handles all inheritance models for both data and function member pointers. Also implements isZeroInitializable() and refactors some of the null member pointer code. MSVC supports converting member pointers through virtual bases, which clang does not (yet?) support. Implementing that extension is covered by http://llvm.org/15713 Reviewers: rjmccall CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D613 llvm-svn: 179305
* Handle C++ static variables in the expressionSean Callanan2013-04-111-0/+2
| | | | | | | | parser. <rdar://problem/13631469> llvm-svn: 179304
* Revert my last two commits while I debug what is wrong in a big endian host.Rafael Espindola2013-04-115-131/+90
| | | | llvm-svn: 179303
* [PCH] Change test/PCH/headersearch.cpp to use -emit-llvm-only instead of ↵Argyrios Kyrtzidis2013-04-111-3/+3
| | | | | | -emit-obj llvm-svn: 179301
* [libclang] Improve a doxygen comment, as suggested by Jordan.Argyrios Kyrtzidis2013-04-111-0/+1
| | | | llvm-svn: 179300
* Hexagon: Remove -g option from the assembler command line.Jyotsna Verma2013-04-113-3/+2
| | | | llvm-svn: 179299
* Fix llvm-readobj tests on big endian hosts.Rafael Espindola2013-04-111-1/+8
| | | | llvm-svn: 179298
* [libclang] Have clang_getCXXAccessSpecifier() also return the access control ↵Argyrios Kyrtzidis2013-04-114-13/+33
| | | | | | | | of a C++ declaration within its parent scope. Suggested by Stefan Seefeld. llvm-svn: 179297
* Static variables inside classes were not being added to the RecordDecl, now ↵Greg Clayton2013-04-113-8/+84
| | | | | | they are. This gets us closer to being able to display static variables in classes. llvm-svn: 179296
* cmake build of lldb was complaining about missing files.Sylvestre Ledru2013-04-112-0/+3
| | | | | | | | | Example: CMake Error at cmake/modules/LLVMProcessSources.cmake:89 (message): Found unknown source file /llvm-toolchain-3.3~svn179293.cmake/tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp llvm-svn: 179295
* Print more information about relocations.Rafael Espindola2013-04-115-90/+124
| | | | | | | | | | With this patch llvm-readobj now prints if a relocation is pcrel, its length, if it is extern and if it is scattered. It also refactors the code a bit to use bit fields instead of shifts and masks all over the place. llvm-svn: 179294
* Explicitly list all sanitizer headers in CMake build rules. Make sure ↵Alexey Samsonov2013-04-116-53/+52
| | | | | | sanitizer lit_tests depend on fresh headers. llvm-svn: 179293
* [asan] improve the UAR reporting (try harder to find the correct frame), try ↵Kostya Serebryany2013-04-112-20/+21
| | | | | | to make the test more stable llvm-svn: 179292
* Fix for wrong instcombine on vector insert/extractBenjamin Kramer2013-04-112-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When trying to collapse sequences of insertelement/extractelement instructions into single shuffle instructions, there is one specific case where the Instruction Combiner wrongly updates the resulting Mask of shuffle indexes. The problem is in function CollectShuffleElments. If we have a sequence of insert/extract element instructions like the one below: %tmp1 = extractelement <4 x float> %LHS, i32 0 %tmp2 = insertelement <4 x float> %RHS, float %tmp1, i32 1 %tmp3 = extractelement <4 x float> %RHS, i32 2 %tmp4 = insertelement <4 x float> %tmp2, float %tmp3, i32 3 Where: . %RHS will have a mask of [4,5,6,7] . %LHS will have a mask of [0,1,2,3] The Mask of shuffle indexes is wrongly computed to [4,1,6,7] instead of [4,0,6,7]. When analyzing %tmp2 in order to compute the Mask for the resulting shuffle instruction, the algorithm forgets to update the mask index at position 1 with the index associated to the element extracted from %LHS by instruction %tmp1. Patch by Andrea DiBiagio! llvm-svn: 179291
* Add a CHECK-NOT for a more faithful translation of the original grep | count 2.Eli Bendersky2013-04-111-0/+1
| | | | | | Thanks to Reid Kleckner for catching this. llvm-svn: 179289
* [sanitizer] Syscall hooks.Evgeniy Stepanov2013-04-115-1/+435
| | | | | | | Pre- and post- hooks for linux syscalls. Not wired into anything, but exposed through public interface. llvm-svn: 179288
* Change clang-format's affinity for breaking after return types.Daniel Jasper2013-04-113-12/+66
| | | | | | | | | | | | | Function declarations are now broken with the following preferences: 1) break amongst arguments. 2) break after return type. 3) break after (. 4) break before after nested name specifiers. Options #2 or #3 are preferred over #1 only if a substantial number of lines can be saved by that. llvm-svn: 179287
* [asan] make heavy_uar_test a bit more heavy and fix he fake stack to pass ↵Kostya Serebryany2013-04-112-5/+8
| | | | | | this test llvm-svn: 179286
* Add a function to check if an argument list is too long.Rafael Espindola2013-04-113-0/+45
| | | | | | | | | This will be used in clang to decide if it should create an @file or not. It will be tested on the clang side. Patch by Nathan Froyd. llvm-svn: 179285
* Fix failing dependencies-and-pp.c testReid Kleckner2013-04-111-1/+2
| | | | | | | The bots seem to do more line wrapping because they have longer absolute paths. llvm-svn: 179284
* Use lit's internal shell runner on Windows for Clang testsReid Kleckner2013-04-111-3/+12
| | | | | | | | | | The behavior can be overridden by setting LIT_USE_INTERNAL_SHELL=0 in the environment. This fixes issues with /dev/null for me and brings the test suite time down to 30s. =D llvm-svn: 179283
* FileCheck-ify more grep tests with quoted double quotesReid Kleckner2013-04-115-82/+93
| | | | | | | | This required some tedious reordering to match clang's order. Presumably these ObjC tests were generated based on llvm-gcc's output ordering. llvm-svn: 179282
* [ASan] test source-based init-order blacklisting added in r179280Alexey Samsonov2013-04-113-1/+15
| | | | llvm-svn: 179281
* [ASan] Allow disabling init-order checks for globals by source file name.Alexey Samsonov2013-04-112-1/+3
| | | | llvm-svn: 179280
* Add myself in the CREDITS.TXTSylvestre Ledru2013-04-111-0/+6
| | | | llvm-svn: 179279
* [asan] fix use-after-return functionality (PR15672) and enable the ↵Kostya Serebryany2013-04-112-11/+21
| | | | | | corresponding test. We still don't guarantee anything with regard to use-after-return checking llvm-svn: 179278
* Add missing colons to check lines.Benjamin Kramer2013-04-113-4/+4
| | | | llvm-svn: 179277
* FileCheckize a bunch of tests.Benjamin Kramer2013-04-113-9/+44
| | | | llvm-svn: 179276
* Add braces around || in && to pacify GCC.Benjamin Kramer2013-04-111-4/+4
| | | | llvm-svn: 179275
* [ASan] Symbolize correct address when printint error summaryAlexey Samsonov2013-04-111-1/+2
| | | | llvm-svn: 179274
* [asan] move fake stack into a separate .h file; actually disable a failing testKostya Serebryany2013-04-114-85/+108
| | | | llvm-svn: 179273
* Rename the C function to create a SLPVectorizerPass to something sane and ↵Benjamin Kramer2013-04-113-4/+8
| | | | | | expose it in the header file. llvm-svn: 179272
* [asan] add heavy_uar_test (disabled); fix lintKostya Serebryany2013-04-112-2/+48
| | | | llvm-svn: 179271
* Fix formatting of overloaded assignment operators.Daniel Jasper2013-04-112-1/+3
| | | | | | Before: SomeType &operator=(const SomeType & S); After: SomeType &operator=(const SomeType &S); llvm-svn: 179270
* [analyzer] Factor common code from {SymSym,SymInt,IntSym}Expr to BinarySymExprRyan Govostes2013-04-111-31/+36
| | | | llvm-svn: 179269
* ScheduleOptimizer: Use isl_map_from_union_map to extract map.Tobias Grosser2013-04-111-19/+13
| | | | llvm-svn: 179268
* Optimize vector select from all 0s or all 1sMichael Liao2013-04-112-0/+117
| | | | | | | | As packed comparisons in AVX/SSE produce all 0s or all 1s in each SIMD lane, vector select could be simplified to AND/OR or removed if one or both values being selected is all 0s or all 1s. llvm-svn: 179267
* Add CLAC/STAC instruction encoding/decoding supportMichael Liao2013-04-118-51/+89
| | | | | | | As these two instructions in AVX extension are privileged instructions for special purpose, it's only expected to be used in inlined assembly. llvm-svn: 179266
* Enhance bool simplifcation in X86 to handle more casesMichael Liao2013-04-114-8/+334
| | | | | | | | | | | | This patch is revised based on patch from Victor Umansky <victor.umansky@intel.com>. More cases are handled in X86's bool simplification, i.e. - SETCC_CARRY - value is truncated to i1 with AND As a by-product, PR5443 is also fixed. llvm-svn: 179265
* [test] missing underscore while checking for test outputShankar Easwaran2013-04-111-2/+2
| | | | llvm-svn: 179264
* R600ControlFlowFinalizer.cpp: Fix a warning. [-Wunused-variable]NAKAMURA Takumi2013-04-111-0/+1
| | | | llvm-svn: 179263
* Whitespace.NAKAMURA Takumi2013-04-111-2/+1
| | | | llvm-svn: 179262
OpenPOWER on IntegriCloud