summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve test for Intel(R) MPX registers.Valentina Giusti2016-10-062-25/+8
| | | | | | | | | | Summary: Let the inferior test code determine if CPU and kernel support Intel(R) MPX and cleanup test script. Differential Revision: https://reviews.llvm.org/D25328 llvm-svn: 283461
* [OpenMP] Check if the template specialization is mappable instead of ↵David Sheinkman2016-10-062-3/+12
| | | | | | specialized template Differential Revision: https://reviews.llvm.org/D25252 llvm-svn: 283460
* Move AArch64BranchRelaxation to generic codeMatt Arsenault2016-10-0611-57/+51
| | | | llvm-svn: 283459
* AArch64: Move remaining target specific BranchRelaxation bits to TIIMatt Arsenault2016-10-064-53/+49
| | | | llvm-svn: 283458
* [X86] Fix intel syntax push parsing bugNirav Dave2016-10-062-2/+52
| | | | | | | | | | | | | | | Change erroneous parsing of push immediate instructions in intel syntax to default to pointer size by rewriting into the ATT style for matching. This fixes PR22028. Reviewers: majnemer, rnk Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25288 llvm-svn: 283457
* Revert "Use StringRef in LTOModule implementation (NFC)"Mehdi Amini2016-10-064-63/+62
| | | | | | | This reverts commit r282997, a windows bot is asserting in one test apparently. llvm-svn: 283456
* Centralize sh_entsize checking.Rafael Espindola2016-10-062-7/+4
| | | | llvm-svn: 283455
* Refactor to use getSectionContentsAsArray.Rafael Espindola2016-10-064-70/+36
| | | | | | This centralizes quite a bit of error checking. llvm-svn: 283454
* Refactor duplicated typedefs. NFC.Rafael Espindola2016-10-061-29/+9
| | | | llvm-svn: 283453
* Mark issues 2514, 2519, 2536 and 2475 as doneMarshall Clow2016-10-061-10/+10
| | | | llvm-svn: 283452
* GlobalISel: fix misuse of using declaration in test.Tim Northover2016-10-061-48/+41
| | | | | | Clang didn't diagnose it before. Oops. llvm-svn: 283451
* [AMDGPU] Disassembler: print label names in branch instructionsSam Kolton2016-10-065-71/+175
| | | | | | | | | | | | | Summary: Add AMDGPUSymbolizer for finding names for labels from ELF symbol table. Initialize MCObjectFileInfo with some default values. Reviewers: vpykhtin, artem.tamazov, tstellarAMD Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye Differential Revision: https://reviews.llvm.org/D24802 llvm-svn: 283450
* [RS4GC] Fix comment to show TODO. NFCAnna Thomas2016-10-061-1/+1
| | | | llvm-svn: 283449
* Allocate after the early exit checks. NFC.Vassil Vassilev2016-10-061-2/+2
| | | | llvm-svn: 283448
* Use range loop. NFC.Rafael Espindola2016-10-062-14/+15
| | | | llvm-svn: 283447
* [RDF] Replace some expensive copies with references in range-based loopsKrzysztof Parzyszek2016-10-061-7/+7
| | | | llvm-svn: 283446
* [RDF] Replace potentially unclear autos with real typesKrzysztof Parzyszek2016-10-062-59/+53
| | | | llvm-svn: 283445
* [modules] Allow VarDecls with initializers to use special var abbrev.Vassil Vassilev2016-10-062-11/+9
| | | | | | | | | Update storage sizes to fit the (past) changes in the VarDecl's data model. Update some comments. Patch partially reviewed by Richard Smith as part of https://reviews.llvm.org/D24508 llvm-svn: 283444
* [llvm-opt-report] Record VF, etc. correctly for multiple opts on one lineHal Finkel2016-10-064-13/+106
| | | | | | | When there are multiple optimizations on one line, record the vectorization factors, etc. correctly (instead of incorrectly substituting default values). llvm-svn: 283443
* Revert "[ARM] Use __rt_div functions for divrem on Windows"Diana Picus2016-10-063-68/+56
| | | | | | | | | | This reverts commit r283383 because it broke some of the bots: undefined reference to ` __aeabi_uldivmod' It affected (at least) clang-cmake-armv7-a15-selfhost, clang-cmake-armv7-a15-selfhost and clang-native-arm-lnt. llvm-svn: 283442
* [libcxx] Recover no-exceptions XFAILs - IAsiri Rathnayake2016-10-0621-28/+95
| | | | | | | | | | | | | | | | First batch of changes to get some of these XFAILs working in the no-exceptions libc++ variant. Changed some XFAILs to UNSUPPORTED where the test is all about exception handling. In other cases, used the test macros TEST_THROW and TEST_HAS_NO_EXCEPTIONS to conditionally exclude those parts of the test that concerns exception handling behaviour. Reviewers: EricWF, mclow.lists Differential revision: https://reviews.llvm.org/D24562 llvm-svn: 283441
* [llvm-opt-report] Print line numbers starting from 1Hal Finkel2016-10-065-185/+185
| | | | | | Line numbers should start from 1, not 2. llvm-svn: 283440
* Test commit access (NFC)Henric Karlsson2016-10-061-1/+1
| | | | llvm-svn: 283439
* [ESan] [MIPS] Fix workingset-signal-posix.cpp on MIPSSagar Thakur2016-10-061-1/+1
| | | | | | | | | Used uptr for __sanitizer_kernel_sigset_t.sig to avoid byte order issues on big endian systems Reviewd by bruening. Differential: D24332 llvm-svn: 283438
* AMDGPU: Partially fix reported code size for some instructionsMatt Arsenault2016-10-064-4/+8
| | | | | | | | These ones need to have the size on the pseudo instruction set for getInstSizeInBytes to work correctly. These also have a statically known size. llvm-svn: 283437
* Add test-cases which demontrate pr30561Zvi Rackover2016-10-061-0/+26
| | | | llvm-svn: 283436
* [ESan][MIPS] Adds support for MIPS64Sagar Thakur2016-10-0614-39/+197
| | | | | | | | | With this patch 12 out of 13 tests are passing. Reviewed by zhaoqin. Differential: D23799 llvm-svn: 283435
* [ValueTracking] Teach computeKnownBits and ComputeNumSignBits to look ↵Bjorn Pettersson2016-10-062-0/+42
| | | | | | | | | | | | | | | through ExtractElement. Summary: The computeKnownBits and ComputeNumSignBits functions in ValueTracking can now do a simple look-through of ExtractElement. Reviewers: majnemer, spatel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24955 llvm-svn: 283434
* [EfficiencySanitizer] Adds shadow memory parameters for 40-bit virtual ↵Sagar Thakur2016-10-061-9/+27
| | | | | | | | | | | memory address. Adding 40-bit shadow memory parameters because MIPS64 uses 40-bit virtual memory addresses. Reviewed by rengolin. Differential: https://reviews.llvm.org/D23801 llvm-svn: 283433
* [Sema] Fix PR30520: Handle incomplete field types in transparent_union unionsAlex Lorenz2016-10-062-0/+13
| | | | | | | | | | | This commit fixes a crash that happens when clang is analyzing a transparent_union attribute on a union which has a field with incomplete type. rdar://28630028 Differential Revision: https://reviews.llvm.org/D25273 llvm-svn: 283432
* [ELF] Don't fail if undefined symbol is not usedEugene Leviant2016-10-068-28/+40
| | | | | | Differential revision: https://reviews.llvm.org/D25240 llvm-svn: 283431
* Add missing -no-canonical-prefixes.Benjamin Kramer2016-10-062-2/+2
| | | | llvm-svn: 283430
* [ELF] Linker script: implement LOADADDREugene Leviant2016-10-065-32/+92
| | | | | | Differential revision: https://reviews.llvm.org/D24298 llvm-svn: 283429
* Fix PR30440: Initialize FunctionTypeDepth in CXXNameManglerAlex Lorenz2016-10-062-4/+17
| | | | | | | | | | | | This commit fixes PR 30440 by initializing CXXNameMangler's FunctionTypeDepth in the two constructors added in r274222 (The commit that caused this regression). rdar://28455269 Differential Revision: https://reviews.llvm.org/D24932 llvm-svn: 283428
* fix build on cygwinNuno Lopes2016-10-061-1/+1
| | | | | | Cygwin has dlfcn.h, but no Dl_info llvm-svn: 283427
* [ELF] - Make checks in ObjectFile<ELFT>::getSection() stricter.George Rimar2016-10-063-3/+12
| | | | | | | | | This patch makes the check for null section stricter, so it is only allowed for STT_SECTION symbols now. Differential revision: https://reviews.llvm.org/D25231 llvm-svn: 283426
* [clang-move] Move comments which are associated with the moved class.Haojian Wu2016-10-064-36/+123
| | | | | | | | | | Reviewers: ioeric Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25227 llvm-svn: 283425
* [clang-move] Cleanup around replacements.Haojian Wu2016-10-065-23/+39
| | | | | | | | | | | | | | Summary: cleanup the remaining empty namespace after moving out the class defintitions. Reviewers: ioeric Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25282 llvm-svn: 283424
* [ARM] Constant pool promotion - fix alignment calculationJames Molloy2016-10-062-1/+11
| | | | | | | | | Global variables are GlobalValues, so they have explicit alignment. Querying DataLayout for the alignment was incorrect. Testcase added. llvm-svn: 283423
* [ARM] Improve testcase for r283323James Molloy2016-10-061-2/+1
| | | | | | | | | We can work around a shortcoming of FileCheck by using {{\[}} to match a square bracket before a [[ sequence. Thanks to Eli Friedman for the heads up! llvm-svn: 283422
* [compiler-rt][XRay][NFC] clang-format XRay sourcesDean Michael Berris2016-10-065-43/+41
| | | | llvm-svn: 283421
* [Driver] Add driver support for FuchsiaPetr Hosek2016-10-068-0/+359
| | | | | | | | | | | Provide toolchain and tool support for Fuchsia operating system. Fuchsia uses compiler-rt as the runtime library and libc++, libc++abi and libunwind as the C++ standard library. lld is used as a default linker. Differential Revision: https://reviews.llvm.org/D25117 llvm-svn: 283420
* [Triple] Add triple for FuchsiaPetr Hosek2016-10-066-0/+27
| | | | | | | | Fuchsia is a new operating system. Differential Revision: https://reviews.llvm.org/D25116 llvm-svn: 283419
* [libFuzzer] be more careful with memory usage, print peak rss in status linesKostya Serebryany2016-10-063-2/+4
| | | | llvm-svn: 283418
* Taking StringRef in Driver.h APIs instead of raw pointers (NFC)Mehdi Amini2016-10-062-42/+39
| | | | llvm-svn: 283417
* Use llvm::raw_string_ostream instead of std::stringstream (NFC)Mehdi Amini2016-10-061-3/+2
| | | | | | As a side effect, this avoid having to call .data() on the StringRef. llvm-svn: 283416
* [AMDGPU] Promote uniform i16 bitreverse intrinsic to i32Konstantin Zhuravlyov2016-10-062-427/+665
| | | | | | Differential Revision: https://reviews.llvm.org/D25121 llvm-svn: 283415
* Fix build error on Android again.Zachary Turner2016-10-051-1/+1
| | | | | | This one was my fault since I can't compile Android. llvm-svn: 283414
* Convert some Args index-based iteration to range-style iteration.Zachary Turner2016-10-0518-253/+241
| | | | | | | | | | | | | | This is better for a number of reasons. Mostly style, but also: 1) Signed-unsigned comparison warnings disappear since there is no loop index. 2) Iterating with the range-for style gives you back an entry that has more than just a const char*, so it's more efficient and more useful. 3) Makes code safter since the type system enforces that it's impossible to index out of bounds. llvm-svn: 283413
* [libFuzzer] when re-running for lsan, don't look at the coverageKostya Serebryany2016-10-051-1/+1
| | | | llvm-svn: 283411
OpenPOWER on IntegriCloud