summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ELF: Remove dead code.Rui Ueyama2015-01-292-8/+6
| | | | | | | _runLayoutPass is always true. No way to set a new value to the member variable. llvm-svn: 227501
* PECOFF: Do not use LayoutPass and instead use simpler one.Rui Ueyama2015-01-294-17/+32
| | | | | | | | | | | | | | | | | | | | | | | | The LayoutPass is one of the slowest pass. This change is to skip that pass. This change not only improve performance but also improve maintainability of the code because the LayoutPass is pretty complex. Previously we used the LayoutPass to sort all atoms in a specific way, and reorder them again for PE/COFF in GroupedSectionPass. I spent time on improving and fixing bugs in the LayoutPass (e.g. r193029), but the pass is still hard to understand and hard to use. It's better not to depend on that if we don't need. For PE/COFF, we just wanted to sort atoms in the same order as the file order in the command line. The feature we used in the LayoutPass is now simplified to compareByPosition function in OrderPass.cpp. The function is just 5 lines. This patch changes the order of final output because it changes the sort order a bit. The output is still correct, though. llvm-svn: 227500
* [LoopReroll] Alter the data structures used during reroll validation.James Molloy2015-01-291-159/+207
| | | | | | | | | | | | | | | The validation algorithm used an incremental approach, building each iteration's data structures temporarily, validating them, then adding them to a global set. This does not scale well to having multiple sets of Root nodes, as the set of instructions used in each iteration is the union over all the root nodes. Therefore, refactor the logic to create a single, simple container to which later logic then refers. This makes it simpler control-flow wise to make the creation of the container more complex with the addition of multiple root sets. llvm-svn: 227499
* [Hexagon] Organizing tests and adding a few missing jump instruction encodings.Colin LeMahieu2015-01-297-11/+101
| | | | llvm-svn: 227498
* [CMake] Get rid of TARGET_64_BIT_CFLAGS: explicitly list required flags for ↵Alexey Samsonov2015-01-292-32/+27
| | | | | | each architecture. llvm-svn: 227496
* [Hexagon] Adding missing instruction encodings and tests.Colin LeMahieu2015-01-294-43/+162
| | | | llvm-svn: 227495
* [Hexagon] Adding alu vector instructionsColin LeMahieu2015-01-293-3/+217
| | | | llvm-svn: 227493
* [GVN] don't propagate equality comparisons of FP zero (PR22376)Sanjay Patel2015-01-292-9/+52
| | | | | | | | | | | | | | In http://reviews.llvm.org/D6911, we allowed GVN to propagate FP equalities to allow some simple value range optimizations. But that introduced a bug when comparing to -0.0 or 0.0: these compare equal even though they are not bitwise identical. This patch disallows propagating zero constants in equality comparisons. Fixes: http://llvm.org/bugs/show_bug.cgi?id=22376 Differential Revision: http://reviews.llvm.org/D7257 llvm-svn: 227491
* All signal handlers are required to have C language linkage in C++. This ↵Aaron Ballman2015-01-291-1/+1
| | | | | | does not fix all signal handlers, but does fix the most recent one. llvm-svn: 227490
* Add missing test from r227488David Blaikie2015-01-291-0/+1
| | | | llvm-svn: 227489
* Matching ARM change for r227481: DebugInfo: Teach Fast ISel to respect the ↵David Blaikie2015-01-291-7/+7
| | | | | | debug location of comparisons in jumps. llvm-svn: 227488
* Refactor test to be reused across architecturesDavid Blaikie2015-01-292-3/+2
| | | | llvm-svn: 227487
* Remove erroneous REQUIRES: object-emission for asm test.David Blaikie2015-01-291-2/+0
| | | | llvm-svn: 227486
* Missing test case for r227481David Blaikie2015-01-291-0/+59
| | | | llvm-svn: 227485
* R600/SI: Implement enableAggressiveFMAFusionMatt Arsenault2015-01-293-1/+399
| | | | | | | | | Add tests for the various combines. This should always be at least cycle neutral on all subtargets for f64, and faster on some. For f32 we should prefer selecting v_mad_f32 over v_fma_f32. llvm-svn: 227484
* R600/SI: Add subtarget feature for if f32 fma is fastMatt Arsenault2015-01-295-5/+23
| | | | llvm-svn: 227483
* R600/SI: Fix tonga's basic scheduling modelMatt Arsenault2015-01-291-1/+1
| | | | llvm-svn: 227482
* DebugInfo: Teach Fast ISel to respect the debug location of comparisons in jumpsDavid Blaikie2015-01-291-9/+9
| | | | | | | | | The use of the DbgLoc in FastISel is probably something we should fix. It's prone to leaking the wrong location into instructions - we should have a clear chain of custody from the debug location of an IR Instruction to that of a MachineInstr to avoid such leakage. llvm-svn: 227481
* [PowerPC] Work around TLS linker bugUlrich Weigand2015-01-292-0/+9
| | | | | | | | | | | Work around a bug in GNU ld (and gold) linker versions up to 2.25 that may mis-optimize code generated by this version of clang/LLVM to access general-dynamic or local-dynamic TLS variables. Bug is fixed here: https://sourceware.org/ml/binutils/2015-01/msg00318.html llvm-svn: 227480
* Disable compilation of llvm-pdbdump for versions of MSVC < 2013.Zachary Turner2015-01-291-1/+4
| | | | | | | | | Certain aspects of llvm-pdbdump require language support only present in MSVC 2013 and higher. Since this is strictly a utility, and since we hope to drop support for MSVC 2012 soon, don't build this unless MSVC 2013 or higher. llvm-svn: 227479
* [fuzzer] fix warning in a test Kostya Serebryany2015-01-291-2/+0
| | | | llvm-svn: 227478
* Compute the ELF SectionKind from the flags.Rafael Espindola2015-01-2921-393/+198
| | | | | | | | | | | | Any code creating an MCSectionELF knows ELF and already provides the flags. SectionKind is an abstraction used by common code that uses a plain MCSection. Use the flags to compute the SectionKind. This removes a lot of guessing and boilerplate from the MCSectionELF construction. llvm-svn: 227476
* [Hexagon] Deleting old variants of intrinsics and adding missing tests.Colin LeMahieu2015-01-296-196/+155
| | | | llvm-svn: 227474
* [asan] Add one more wait-for-device in the Android setup script.Evgeniy Stepanov2015-01-291-0/+1
| | | | llvm-svn: 227473
* This reverts commit r227432, r227438 and r227448.Rafael Espindola2015-01-298-238/+32
| | | | | | | | | | | | | | | | | | | | | | | It should bring the bots back. Original messagses: r227448: Remove unnecessary default. r227438: Fix Index/print-type.cpp test following r227432. r227432: libclang: Add three functions useful for dealing with anonymous fields: clang_Cursor_getOffsetOfField clang_Cursor_isAnonymous clang_Type_visitFields Python: Add corresponding methods for dealing with anonymous fields. Patch by Loïc Jaquemet llvm-svn: 227472
* [lto] Disable dialog boxes on crash on Windows.Michael J. Spencer2015-01-291-0/+7
| | | | | | This has to be done in the DLL because the state doesn't cross DLL boundaries. llvm-svn: 227471
* [Support][Windows] Unify dialog box suppression and print stack traces on abort.Michael J. Spencer2015-01-293-20/+33
| | | | llvm-svn: 227470
* Pin the libiomp5.dll for the lifetime of application, Windows-specificAndrey Churbanov2015-01-291-0/+15
| | | | llvm-svn: 227469
* [fuzzer] minor cleanup based on reviews: remove redundant includes, fix a ↵Kostya Serebryany2015-01-293-4/+2
| | | | | | copy-pasto in tests llvm-svn: 227468
* enable environment variable KMP_PLACE_THREADS also for non-MIC architecturesAndrey Churbanov2015-01-295-21/+4
| | | | llvm-svn: 227467
* [fuzzer] add FAQ section to the README.txt Kostya Serebryany2015-01-291-1/+43
| | | | llvm-svn: 227466
* Reverting r227453, which adds back the fuzzer library. Now excluding the ↵Aaron Ballman2015-01-293-1/+45
| | | | | | clang-format fuzzer functionality based on LLVM_USE_SANITIZE_COVERAGE being set or unset. llvm-svn: 227465
* Reverting r227452, which adds back the fuzzer library. Now excluding the ↵Aaron Ballman2015-01-2921-0/+903
| | | | | | fuzzer library based on LLVM_USE_SANITIZE_COVERAGE being set or unset. llvm-svn: 227464
* [Hexagon] Adding CR intrinsic tests.Colin LeMahieu2015-01-292-0/+102
| | | | llvm-svn: 227463
* R600/SI: Remove stray debug statementsTom Stellard2015-01-291-5/+1
| | | | llvm-svn: 227462
* R600/SI: Define a schedule model and enable the generic machine schedulerTom Stellard2015-01-2932-110/+185
| | | | | | The schedule model is not complete yet, and could be improved. llvm-svn: 227461
* [Hexagon] Deleting unused classes.Colin LeMahieu2015-01-291-1319/+0
| | | | llvm-svn: 227460
* Oops -- accidentally commit some debug code! Removing that code; NFC (this ↵Aaron Ballman2015-01-291-3/+1
| | | | | | time for real). llvm-svn: 227459
* [X86] Use single add/sub for large stack offsetsRobert Lougher2015-01-292-13/+105
| | | | | | | | | | | For large stack offsets the compiler generates multiple immediate mode sub/add instructions in the prologue/epilogue. This patch makes the compiler place the final amount to be added/subtracted into a register, which is then added/substracted with a single operation. Differential Revision: http://reviews.llvm.org/D7226 llvm-svn: 227458
* [Hexagon] Adding XTYPE/PRED intrinsic tests. Converting predicate types to ↵Colin LeMahieu2015-01-297-158/+393
| | | | | | i32 instead of i1. llvm-svn: 227457
* Attempting to fix a build issue with MSVC 2012; NFCAaron Ballman2015-01-291-3/+5
| | | | llvm-svn: 227456
* [PowerPC] Complete setting the baseline for ppc64leBill Schmidt2015-01-292-2/+10
| | | | | | | | | | | | Patch by Nemanja Ivanovic. As was uncovered by the failing test case (when run on non-PPC platforms), the feature set when compiling with -march=ppc64le was not being picked up. This change ensures that if the -mcpu option is not specified, the correct feature set is picked up regardless of whether we are on PPC or not. llvm-svn: 227455
* fix that sets proc-bind-var to proc_bind_false if affinity is not supportedAndrey Churbanov2015-01-291-0/+6
| | | | llvm-svn: 227454
* Temporarily reverting the fuzzer library as it causes too many build issues ↵Aaron Ballman2015-01-293-43/+1
| | | | | | for MSVC users. This reverts: 227354 llvm-svn: 227453
* Temporarily reverting the fuzzer library as it causes too many build issues ↵Aaron Ballman2015-01-2921-901/+0
| | | | | | for MSVC users. This reverts: 227445, 227395, 227389, 227357, 227254, 227252 llvm-svn: 227452
* fixing typo in error messageAndrey Churbanov2015-01-291-1/+1
| | | | llvm-svn: 227451
* fixing mistake in kmp_get_affinity_max_proc() api functionAndrey Churbanov2015-01-291-1/+1
| | | | llvm-svn: 227450
* fixing the Fortran modules dependenciesAndrey Churbanov2015-01-291-2/+3
| | | | llvm-svn: 227449
* Remove unnecessary default.Francois Pichet2015-01-291-1/+0
| | | | llvm-svn: 227448
* adding the jobs variable for parallel buildAndrey Churbanov2015-01-294-4/+16
| | | | llvm-svn: 227447
OpenPOWER on IntegriCloud