summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [X86] Try to zero elts when lowering 256-bit shuffle with PSHUFB.Ahmed Bougacha2016-05-283-35/+100
| | | | | | | | Otherwise we fallback to a blend of PSHUFBs later on. Differential Revision: http://reviews.llvm.org/D19661 llvm-svn: 271113
* Simplify and clang-format a table.Rafael Espindola2016-05-281-5/+5
| | | | llvm-svn: 271112
* Fix default reloc model on ARM.Rafael Espindola2016-05-282-2/+7
| | | | llvm-svn: 271111
* [driver][mips] Fix local variable naming. NFCSimon Atanasyan2016-05-281-6/+6
| | | | llvm-svn: 271110
* [driver][mips] Revert support for CodeSourcery MIPS toolchainSimon Atanasyan2016-05-28180-4/+762
| | | | | | This is revert of r270366. The support for CS toolchain were dropped too early. llvm-svn: 271109
* [libcxx] Improve tests to use the UNSUPPORTED lit directiveAsiri Rathnayake2016-05-28126-581/+176
| | | | | | | | | | | | | | | | | | | Quite a few libcxx tests seem to follow the format: #if _LIBCPP_STD_VER > X // Do test. #else // Empty test. #endif We should instead use the UNSUPPORTED lit directive to exclude the test on earlier C++ standards. This gives us a more accurate number of test passes for those standards and avoids unnecessary conflicts with other lit directives on the same tests. Reviewers: bcraig, ericwf, mclow.lists Differential revision: http://reviews.llvm.org/D20730 llvm-svn: 271108
* [MC] Return early when .fill size is negativePetr Hosek2016-05-281-1/+1
| | | | | | | | | Rather than invoking emitFill with negative size, which may trigger an undefined behavior, return immediately after emitting the warning. Differential Revision: http://reviews.llvm.org/D20768 llvm-svn: 271107
* [X86][SSE] Replace VPMOVSX and (V)PMOVZX integer extension intrinsics with ↵Simon Pilgrim2016-05-286-60/+66
| | | | | | | | | | | | | | generic IR (clang) The VPMOVSX and (V)PMOVZX sign/zero extension intrinsics can be safely represented as generic __builtin_convertvector calls instead of x86 intrinsics. This patch removes the clang builtins and their use in the sse2/avx headers - a companion patch will remove/auto-upgrade the llvm intrinsics. Note: We already did this for SSE41 PMOVSX sometime ago. Differential Revision: http://reviews.llvm.org/D20684 llvm-svn: 271106
* Bounds check the number of bitmap blocks in the name mapDavid Majnemer2016-05-281-0/+10
| | | | llvm-svn: 271105
* An empty record cannot be null-terminatedDavid Majnemer2016-05-281-0/+3
| | | | llvm-svn: 271104
* Make sure the directory contains info for all streamsDavid Majnemer2016-05-281-3/+8
| | | | llvm-svn: 271103
* [MC] Support symbolic expressions in assembly directivesPetr Hosek2016-05-288-62/+159
| | | | | | | | | This matches the behavior of GNU assembler which supports symbolic expressions in absolute expressions used in assembly directives. Differential Revision: http://reviews.llvm.org/D20752 llvm-svn: 271102
* [pdb] Finish conversion to zero copy pdb access.Zachary Turner2016-05-2833-350/+228
| | | | | | | | | | | | | | This converts remaining uses of ByteStream, which was still left in the symbol stream and type stream, to using the new StreamInterface zero-copy classes. RecordIterator is finally deleted, so this is the only way left now. Additionally, more error checking is added when iterating the various streams. With this, the transition to zero copy pdb access is complete. llvm-svn: 271101
* [ELF][MIPS] Always resolve MIPS GP-relative relocations to 'local' definitionsSimon Atanasyan2016-05-282-6/+45
| | | | | | | | | | | | | | In case of MIPS, GP-relative relocations always resolve to a definition in a regular input file, ignoring the one-definition rule. Such relocations are used to setup GP relative offsets in a function's prologue. So we, for example, should not attempt to create a dynamic relocation even if the target symbol is preemptible. Fixes bug 27880. Differential Revision: http://reviews.llvm.org/D20664 llvm-svn: 271100
* Revert "Revert "Map DynamicNoPIC to Static on non-darwin.""Renato Golin2016-05-284-41/+101
| | | | | | | | This reverts commit r271096, as reverting it broke even more buildbots! But that also means I'll break on ARM again... :( llvm-svn: 271099
* Move test only for the relevant platformXinliang David Li2016-05-282-4/+8
| | | | llvm-svn: 271098
* Add a comment about why we need to buffer the attribute changes.Sean Silva2016-05-281-0/+3
| | | | llvm-svn: 271097
* Revert "Map DynamicNoPIC to Static on non-darwin."Renato Golin2016-05-284-101/+41
| | | | | | This reverts commit r271052, as it broke some ARM buildbots. llvm-svn: 271096
* [libFuzzer] fix a failure that occurs when running individual inputsKostya Serebryany2016-05-281-0/+1
| | | | llvm-svn: 271095
* Small cleanup.Sean Silva2016-05-281-6/+6
| | | | | | | Centralize assertion. Clean up max loop. llvm-svn: 271094
* Inline this into its only use. NFC.Sean Silva2016-05-281-10/+5
| | | | | | | The name was out of date at this point and it seems simple enough to have in-line. llvm-svn: 271093
* Bring back r271090 in a way that doesn't depend on r271089.Sean Silva2016-05-282-0/+4
| | | | llvm-svn: 271092
* Revert r271089 and r271090.Sean Silva2016-05-282-33/+43
| | | | | | | | | | | | | | It was triggering an msan bot. Revert "[IRPGO] Set the function entry count metadata." This reverts commit r271090. Revert "[IRPGO] Centralize the function attribute inliner hint logic. NFC." This reverts commit r271089. llvm-svn: 271091
* [IRPGO] Set the function entry count metadata.Sean Silva2016-05-282-0/+4
| | | | llvm-svn: 271090
* [IRPGO] Centralize the function attribute inliner hint logic. NFC.Sean Silva2016-05-281-43/+29
| | | | | | This keeps the logic in the same function. llvm-svn: 271089
* [Hexagon] Add option to enable subregister liveness trackingKrzysztof Parzyszek2016-05-282-0/+11
| | | | llvm-svn: 271088
* [Hexagon] Separate C8 and USR to avoid unwanted subregister compositionKrzysztof Parzyszek2016-05-282-6/+18
| | | | | | | | Composing subreg_loreg with subreg_oveflow leads to strange results with lane masks for register classes with subreg_loreg. In particular, dead lane detection generates incorrect code. llvm-svn: 271087
* [LoopUnrollAnalyzer] Add a comment to visitCastInst.Michael Zolotukhin2016-05-281-0/+6
| | | | llvm-svn: 271086
* [sanitizers] introduce a common run-time option dedup_token_length to help ↵Kostya Serebryany2016-05-283-0/+54
| | | | | | with report deduplication, off by default for now. See https://github.com/google/sanitizers/issues/684 llvm-svn: 271085
* AArch64: Fix indentationMatthias Braun2016-05-281-9/+9
| | | | llvm-svn: 271084
* [docs] Be a bit more precise.Sean Silva2016-05-281-4/+5
| | | | llvm-svn: 271083
* AMDGPU: Cleanup vector insert/extract testsMatt Arsenault2016-05-286-177/+455
| | | | | | | This mostly makes sure that 3-vector dynamic inserts and extracts are covered. llvm-svn: 271082
* AMDGPU: Fix trailing whitespaceMatt Arsenault2016-05-281-5/+5
| | | | llvm-svn: 271081
* AMDGPU: Add fract builtinMatt Arsenault2016-05-283-0/+19
| | | | llvm-svn: 271080
* [esan] Add handling of large stack size rlimitsDerek Bruening2016-05-2812-44/+191
| | | | | | | | | | | | | | | | | | | | | Summary: Adds detection of large stack size rlimits (over 1 TB or unlimited), which results in an mmap location that our shadow mapping does not support. We re-exec the application in this situation. Adds a test of this behavior. Adds general detection of mmap regions outside of our app regions. In the future we want to try to adaptively handle these but for now we abort. Moves the existing Linux-specific mmap code into a platform-specific file where the new rlimit code lives. Reviewers: eugenis Subscribers: vitalybuka, zhaoqin, kcc, aizatsky, llvm-commits, kubabrecka Differential Revision: http://reviews.llvm.org/D20745 llvm-svn: 271079
* AMDGPU: Add fract intrinsicMatt Arsenault2016-05-287-68/+145
| | | | | | | | | Remove broken patterns matching it. This was matching the unsafe math pattern and expanding the fix for the buggy instruction from the pattern. The problems are also on CI. Remove the workarounds and only use fract with unsafe math or from the intrinsic. llvm-svn: 271078
* Clean up: remove trailing spaces in x86 intrinsic headers.Ekaterina Romanova2016-05-286-91/+91
| | | | | | Differential Revision: http://reviews.llvm.org/D20614 llvm-svn: 271077
* The patch fixes r271071Evgeny Stupachenko2016-05-281-3/+4
| | | | | | | | | | | Summary: unused variables in Release mode: BasicBlock *Header unsigned OrigCount put under DEBUG From: Evgeny Stupachenko <evstupac@gmail.com> llvm-svn: 271076
* Fix windows build bot failureXinliang David Li2016-05-281-1/+1
| | | | llvm-svn: 271075
* Add missing include to test_iterators.hEric Fiselier2016-05-271-0/+1
| | | | llvm-svn: 271074
* Fix PR27751. Add proper dependancies for install-libcxx-headers ruleEric Fiselier2016-05-271-1/+2
| | | | llvm-svn: 271073
* [PM] Port the Sample FDO to new PM (part-2)Xinliang David Li2016-05-2721-5/+73
| | | | llvm-svn: 271072
* The patch refactors unroll pass.Evgeny Stupachenko2016-05-275-209/+261
| | | | | | | | | | | | | | | | Summary: Unroll factor (Count) calculations moved to a new function. Early exits on pragma and "-unroll-count" defined factor added. New type of unrolling "Force" introduced (previously used implicitly). New unroll preference "AllowRemainder" introduced and set "true" by default. (should be set to false for architectures that suffers from it). Reviewers: hfinkel, mzolotukhin, zzheng Differential Revision: http://reviews.llvm.org/D19553 From: Evgeny Stupachenko <evstupac@gmail.com> llvm-svn: 271071
* Fix PR27875. Parse LIBCXX_CXX_ABI_LIBRARY_PATH as a path not a stringEric Fiselier2016-05-271-2/+4
| | | | llvm-svn: 271070
* Use C++ casts to avoid a warningSanjoy Das2016-05-271-1/+2
| | | | | | | | warning: cast from type ‘const void*’ to type ‘llvm::PrettyStackTraceEntry*’ casts away qualifiers [-Wcast-qual] PrettyStackTraceHead = (PrettyStackTraceEntry*)Top; llvm-svn: 271069
* Update the stack coloring pass to remove lifetime intrinsics in the ↵Andrew Kaylor2016-05-273-5/+24
| | | | | | | | optnone/opt-bisect skip case. Differential Revision: http://reviews.llvm.org/D20453 llvm-svn: 271068
* [asan] Add option to enable asan-use-after-scope from clang.Vitaly Buka2016-05-272-6/+12
| | | | | | | | | | | | | | Clang will have -fsanitize-address-use-after-scope flag. PR27453 Reviewers: kcc, eugenis, aizatsky Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D20750 llvm-svn: 271067
* Start using shouldAssumeDSOLocal on ARM.Rafael Espindola2016-05-271-29/+9
| | | | | | Given where this is used it should be a nop. llvm-svn: 271066
* Guard testing of tuple extensions to make tests portableEric Fiselier2016-05-275-2/+16
| | | | llvm-svn: 271065
* [Kaleidoscope][BuildingAJIT] Add stub chapter text for Building A JIT Chapter 4.Lang Hames2016-05-271-0/+48
| | | | llvm-svn: 271064
OpenPOWER on IntegriCloud