summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* dosep can run tests in a specific subfolderVince Harron2015-05-121-7/+16
| | | | | | | | | | For example: ./dosep.py -o "$DOTEST_OPTS" lang/c/ Differential Revision: http://reviews.llvm.org/D9724 llvm-svn: 237207
* Added support for XTIMEOUT to dosepVince Harron2015-05-121-0/+36
| | | | | | | | | | | Ideally, this would be put in the individual test files. Unfortunately, I'm not sure how to do that quickly/easily. I'm open to suggestions. In the meantime, I'll submit this to stabilze the build server. llvm-svn: 237206
* Document a known build issue on OS X 10.8 and later.Eric Fiselier2015-05-121-3/+12
| | | | llvm-svn: 237205
* Allow the CMake option 'LLVM_ABI_BREAKING_CHECKS' to be undefined.Eric Fiselier2015-05-121-0/+3
| | | | | | | When building libc++abi in a standalone configuration the CMake option 'LLVM_ABI_BREAKING_CHECKS` will not be defined. llvm-svn: 237204
* Changed renaming of local symbols by inserting a dot before the numeric suffix.Sunil Srivastava2015-05-122-2/+2
| | | | | | | | | Modified two test cases to adjust to the above change in renaming. These two files were causing the buildbot failure in Polly, #30204 for example. Details in http://reviews.llvm.org/D9483 This checkin goes with r237150 and r237151 llvm-svn: 237203
* Have '__have_extension(cxx_variadic_templates)' return true for any C++ ↵Eric Fiselier2015-05-122-0/+6
| | | | | | standard. llvm-svn: 237202
* CVP: Improve handling of Selects used as incoming PHI valuesBjorn Steinbrink2015-05-122-11/+83
| | | | | | | | | | | | | | Summary: If the branch that leads to the PHI node and the Select instruction depend on correlated conditions, we might be able to directly use the corresponding value from the Select instruction as the incoming value for the PHI node, allowing later removal of the select instruction. Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9051 llvm-svn: 237201
* [RewriteStatepointsForGC] Extend base pointer to handle more cases w/vectorsPhilip Reames2015-05-122-9/+61
| | | | | | | | | | When relocating a pointer, we need to determine a base pointer for the derived pointer being relocated. We have limited support for handling a pointer extracted from a vector; the current code only handled the case where the entire vector was known to contain base pointers. This patch extends the reasoning to handle chains of insertelements where the indices are constants. This case turns out to be fairly common in vectorized code. We can now handle vectors which contains mixtures of base and derived pointers provided the insertelements use constant indices. Note that this doesn't solve the general problem. To handle variable indexed insertelements, we'd need to scalarize and introduce conditional branching based on the index. Alternatively, we could eagerly scalarize, but the code structure doesn't currently make either fix easy. The patch also doesn't handle shufflevector or other vector manipulation for much the same reasons. I plan to defer this work until I have a motivating test case. Differential Revision: http://reviews.llvm.org/D9676 llvm-svn: 237200
* benchcomp: Add macho_symsizes mode for comparing Mach-O object symbol sizes.Peter Collingbourne2015-05-121-0/+49
| | | | llvm-svn: 237199
* [lib/Fuzzer] use sha1sum for the file hashKostya Serebryany2015-05-121-0/+30
| | | | llvm-svn: 237198
* Tidy comments in SampleProfile header. NFC.Diego Novillo2015-05-121-16/+18
| | | | llvm-svn: 237197
* [PlaceSafepoints] Add missing "override" to ↵Justin Bogner2015-05-121-2/+2
| | | | | | | | PlaceBackedgeSafepointsImpl::runOnFunction Pointed out by -Winconsistent-missing-override. llvm-svn: 237196
* Add missing #include and forward decl, found by modules build.Richard Smith2015-05-122-1/+2
| | | | llvm-svn: 237195
* Add missing #includes, found by modules build.Richard Smith2015-05-122-0/+5
| | | | llvm-svn: 237194
* MergeFunctions: Two different sized allocas are *not* the sameArnold Schwaighofer2015-05-122-0/+42
| | | | llvm-svn: 237193
* Add a new error for unexpected semi-colon before closing delimiter.Richard Trieu2015-05-124-4/+25
| | | | | | | | | Previously, if a semi-colon is unexpectedly added before a closing ')', ']' or '}', two errors and one note would emitted, and the parsing would get confused to which scope it was in. This change consumes the semi-colon, recovers parsing better, and emits only one error with a fix-it. llvm-svn: 237192
* [Statepoints] Clean up statepoint argument accessors.Pat Gavlin2015-05-122-39/+29
| | | | | | Differential Revision: http://reviews.llvm.org/D9622 llvm-svn: 237191
* Include missing 'sanitizer_platform_limits_posix.h'Ismail Pazarbasi2015-05-121-0/+1
| | | | | | Unbreak Mac builds. `#include` seems to be forgotten during staging. llvm-svn: 237190
* Revert "ARM: Remove Itineraries for swift CPU"Matthias Braun2015-05-121-0/+1046
| | | | | | | | Reverting until I figure out the new lit failures. This reverts commit r237179. llvm-svn: 237189
* InstrProf: Update name of compiler-rt routine for setting filenameJustin Bogner2015-05-121-2/+2
| | | | | | Patch by Teresa Johnson. llvm-svn: 237187
* InstrProf: Update name of compiler-rt routine for setting filenameJustin Bogner2015-05-121-1/+1
| | | | | | Patch by Teresa Johnson. llvm-svn: 237186
* [PlaceSafepoints] Switch to being a FunctionPassPhilip Reames2015-05-122-12/+7
| | | | | | | | The pass doesn't actually modify the module outside of the function being processed. The only confusing piece is that it both inserts calls and then inlines the resulting calls. Given that, it definitely invalidates module level analysis results, but many FunctionPasses do that. Differential Revision: http://reviews.llvm.org/D9590 llvm-svn: 237185
* Revert accidental file checkinVince Harron2015-05-121-1/+1
| | | | llvm-svn: 237184
* clang-format AllocateTarget. NFCDouglas Katzman2015-05-121-16/+16
| | | | llvm-svn: 237183
* XFAIL'd TestPersistObjCPointeeType.pyVince Harron2015-05-123-5/+7
| | | | llvm-svn: 237182
* fix formatting; NFCSanjay Patel2015-05-121-6/+4
| | | | llvm-svn: 237181
* [PlaceSafepoints] Make internal helper pass a FunctionPassPhilip Reames2015-05-121-11/+30
| | | | | | | | | | Switch from using a LoopPass to using a FunctionPass for the internal helper analysis pass. The next step is going to be to make this a true analysis pass which is required by the PlaceSafepoints pass itself. p.s. The interesting semantic part here is that we're changing the iteration order over the loops. It shouldn't matter, but that's the reason to separate this into it's own distinct patch. Differential Revision: http://reviews.llvm.org/D9588 llvm-svn: 237180
* ARM: Remove Itineraries for swift CPUMatthias Braun2015-05-121-1046/+0
| | | | | | | | | | They do more harm than good when used in the MachineScheduler as they tend to take preference to register pressure minimsation which is more important for swift. Differential Revision: http://reviews.llvm.org/D9718 llvm-svn: 237179
* Platform settings doesn't need permission options.Chaoren Lin2015-05-121-3/+0
| | | | | | | | | | | | | | | | Summary: Also removes conflict error message for '-w' between --user-write and --working-dir. Reviewers: flackr, clayborg Reviewed By: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9711 llvm-svn: 237178
* Call system's sigfillset and sigprocmask functions from sanitizersIsmail Pazarbasi2015-05-121-0/+7
| | | | | | | | | | Reviewers: kcc, glider, dvyukov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9637 llvm-svn: 237177
* [PlaceSafepoints] Use analysis infrastructure to get dominator treePhilip Reames2015-05-121-6/+4
| | | | | | | | The old code computed dominators for every loop. This was terribly slow with no good reason. Just use the standard infrastructure for analysis passes. Differential Revision: http://reviews.llvm.org/D9586 llvm-svn: 237176
* [X86] Always return the sret parameter in eax/rax, even on 32-bitReid Kleckner2015-05-123-40/+56
| | | | | | | | | | | | | | | | | | | Summary: This rule was always in the old SysV i386 ABI docs and the new ones that H.J. Lu has put together, but we never noticed: EAX scratch register; also used to return integer and pointer values from functions; also stores the address of a returned struct or union Fixes PR23491. Reviewers: majnemer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9715 llvm-svn: 237175
* Added minor commentVince Harron2015-05-121-0/+1
| | | | llvm-svn: 237174
* Sanitizers: Implement `GetRSS` on Mac OS XIsmail Pazarbasi2015-05-121-3/+12
| | | | | | | | | | Reviewers: kcc, glider, dvyukov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9636 llvm-svn: 237173
* [PlaceSafepoints] Remove dependence on LoopSimplifyPhilip Reames2015-05-122-33/+44
| | | | | | | | As a step towards getting rid of internal pass manager hack entirely, remove the need for loop simplify to run in the inner pass manager. The new code does produce slightly different loop structures, so this isn't technically NFC. Differential Revision: http://reviews.llvm.org/D9585 llvm-svn: 237172
* List Alexey Bataev as code owner for Clang's OpenMP support, as discussed ↵Richard Smith2015-05-121-0/+4
| | | | | | | | offline. Thanks for all your hard work getting us OpenMP feature-complete, Alexey! llvm-svn: 237171
* [PATCH] [HEXAGON] Add a test program to verify calling conventionSundeep Kushwaha2015-05-121-0/+13
| | | | | | | | for large struct return by value. Differential Revision: http://reviews.llvm.org/D9709 llvm-svn: 237170
* Convert PHI getIncomingValue() to foreach over incoming_values(). NFC.Pete Cooper2015-05-1217-49/+40
| | | | | | | | We already had a method to iterate over all the incoming values of a PHI. This just changes all eligible code to use it. Ineligible code included anything which cared about the index, or was also trying to get the i'th incoming BB. llvm-svn: 237169
* Add a const method to iterator over PHI incoming values.Pete Cooper2015-05-121-0/+2
| | | | | | This will be used in the next commit which converts code to use incoming_values(). llvm-svn: 237168
* Constify method. NFCPete Cooper2015-05-121-1/+1
| | | | llvm-svn: 237167
* [Statepoints] Split the calling convention and statepoint flags operand to ↵Pat Gavlin2015-05-125-29/+54
| | | | | | | | STATEPOINT into two separate operands. Differential Revision: http://reviews.llvm.org/D9623 llvm-svn: 237166
* Strip trailing whitespace. NFCDouglas Katzman2015-05-124-5/+5
| | | | llvm-svn: 237165
* R600/SI: Fix bug in VGPR spillingTom Stellard2015-05-125-76/+69
| | | | | | | | | | | | AMDGPU::SI_SPILL_V96_RESTORE was missing from a switch statement, which caused the srsrc and soffset register to not be set correctly. This commit replaces the switch statement with a SITargetInfo query to make sure all spill instructions are covered. Differential Revision: http://reviews.llvm.org/D9582 llvm-svn: 237164
* [lib/Fuzzer] guess the right number of workers if -jobs=N is given but ↵Kostya Serebryany2015-05-125-7/+22
| | | | | | -workers=M is not. Update the docs. llvm-svn: 237163
* Windows: fix bug in getcwd() and add chdir().Ted Woodward2015-05-124-13/+16
| | | | | | | | | | | | | | | | | Summary: GetCurrentDirectory() returns the number of characters copied; 0 is a failure, not a success. Add implementation for chdir(). Reviewers: zturner Reviewed By: zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9300 llvm-svn: 237162
* [Builtins] Implement half-precision conversions.Ahmed Bougacha2015-05-1211-5/+470
| | | | | | | | | | | | | | | | | Mostly uninteresting, except: - in __extendXfYf2, when checking if the number is normal, the old code relied on the unsignedness of src_rep_t, which is a problem when sizeof(src_rep_t) < sizeof(int): the result gets promoted to int, the signedness of which breaks the comparison. I added an explicit cast; it shouldn't affect other types. - we can't pass __fp16, so src_t and src_rep_t are the same. - the gnu_*_ieee symbols are simply duplicated definitions, as aliases are problematic on mach-o (where only weak aliases are supported; that's not what we want). Differential Revision: http://reviews.llvm.org/D9693 llvm-svn: 237161
* Revert r237157, "YAML: Fix typos. NFC".Alex Lorenz2015-05-121-2/+2
| | | | | | 'Iff' isn't a typo, it's a shorthand for 'if and only if'. llvm-svn: 237160
* Fixed double-free in case of module loading error.Artem Belevich2015-05-122-2/+7
| | | | | | | | | | | | | GetOutputStream() owns the stream it returns pointer to and the pointer should never be freed by us. When we fail to load and exit early, unique_ptr still holds the pointer and frees it which leads to compiler crash when CompilerInstance attempts to free it again. Added regression test for failed bitcode linking. Differential Revision: http://reviews.llvm.org/D9625 llvm-svn: 237159
* [mips][microMIPSr6] Implement SELEQZ and SELNEZ instructionsJozef Kolek2015-05-125-3/+42
| | | | | | | | This patch implements SELEQZ and SELNEZ instructions using mapping. Differential Revision: http://reviews.llvm.org/D8497 llvm-svn: 237158
* YAML: Fix typos. NFC.Alex Lorenz2015-05-121-2/+2
| | | | llvm-svn: 237157
OpenPOWER on IntegriCloud