- Jun 30, 2016
-
-
Marshall Clow authored
Implement LWG#2684: 'priority_queue lacking comparator typedef'. We already did this, just added tests llvm-svn: 274243
-
Adrian Prantl authored
This reverts commit 3db82f646a0890eb7664d0351b5a3c79622e8bef. Vassil already fixed this and I mechanically undid his fix without looking too close at what I'm actually doing. Need more coffee. llvm-svn: 274242
-
Marshall Clow authored
llvm-svn: 274241
-
Adrian Prantl authored
This fixes a typo introduced in r274196. Thanks to Vassil Vassilev for noticing! http://reviews.llvm.org/D21827 rdar://problem/27019000 llvm-svn: 274240
-
Etienne Bergeron authored
Summary: MSVC provide exception handlers with enhanced information to deal with security buffer feature (/GS). To be more secure, the security cookies (GS and SEH) are validated when unwinding the stack. The following code: ``` void f() {} void foo() { __try { f(); } __except(1) { f(); } } ``` Reviewers: majnemer, rnk Subscribers: thakis, llvm-commits, chrisha Differential Revision: http://reviews.llvm.org/D21101 llvm-svn: 274239
-
Sanjay Patel authored
llvm-svn: 274238
-
Jun Bum Lim authored
Summary: Found cases where DSE incorrectly add partially-overwritten intervals. Please see the test case for details. Reviewers: mcrosier, eeckstein, hfinkel Subscribers: mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D21859 llvm-svn: 274237
-
Marshall Clow authored
llvm-svn: 274236
-
Marshall Clow authored
llvm-svn: 274235
-
Etienne Bergeron authored
Summary: The FlagParser is populating a static global class with the unrecognized flags when parsing. That global class has a dcheck that limit the number of unrecognized flag to 20. ``` class UnknownFlags { static const int kMaxUnknownFlags = 20; const char *unknown_flags_[kMaxUnknownFlags]; int n_unknown_flags_; [...] void Report() { if (!n_unknown_flags_) return; Printf("WARNING: found %d unrecognized flag(s):\n", n_unknown_flags_); for (int i = 0; i < n_unknown_flags_; ++i) Printf(" %s\n", unknown_flags_[i]); n_unknown_flags_ = 0; } }; UnknownFlags unknown_flags; ``` Unittests based on that class must reset the counter 'n_unknown_flags_' or the next usage of that class may fail arbitrary. This can be done by reporting the pending unknown flags. Reviewers: rnk Subscribers: llvm-commits, wang0109, kubabrecka, chrisha Differential Revision: http://reviews.llvm.org/D21896 llvm-svn: 274234
-
Sanjay Patel authored
https://llvm.org/bugs/show_bug.cgi?id=24766#c2 This removes a hack that was added for the benefit of x86 codegen. It prevented shrinking the switch condition even to smaller legal (DataLayout) types. We have a safety mechanism in CGP after: http://reviews.llvm.org/rL251857 ...so we're free to use the optimal (smallest) IR type now. Differential Revision: http://reviews.llvm.org/D12965 llvm-svn: 274233
-
Elliot Colp authored
llvm-svn: 274232
-
Etienne Bergeron authored
Summary: The unittest 'ThreadRegistryThreadedTest' is failing when running in loop. There are global variables that need to be cleared. To repro: ``` projects\compiler-rt\lib\sanitizer_common\tests\Release\Sanitizer-x86_64-Test.exe --gtest_filter=SanitizerCommon.ThreadRegistryThreadedTest --gtest_repeat=2 ``` Output: ``` Repeating all tests (iteration 1) . . . Note: Google Test filter = SanitizerCommon.ThreadRegistryThreadedTest [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from SanitizerCommon [ RUN ] SanitizerCommon.ThreadRegistryThreadedTest [ OK ] SanitizerCommon.ThreadRegistryThreadedTest (1 ms) [----------] 1 test from SanitizerCommon (1 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (2 ms total) [ PASSED ] 1 test. Repeating all tests (iteration 2) . . . Note: Google Test filter = SanitizerCommon.ThreadRegistryThreadedTest [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from SanitizerCommon [ RUN ] SanitizerCommon.ThreadRegistryThreadedTest C:/src/llvm/llvm/projects/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cc(216): error: Value of: num_created[0] Actual: 2 Expected: 1 C:/src/llvm/llvm/projects/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cc(217): error: Value of: num_started[0] Actual: 2 Expected: 1 C:/src/llvm/llvm/projects/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cc(220): error: Value of: num_created[i] [...] [ FAILED ] SanitizerCommon.ThreadRegistryThreadedTest (294 ms) [----------] 1 test from SanitizerCommon (294 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (299 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] SanitizerCommon.ThreadRegistryThreadedTest 1 FAILED TEST ``` Reviewers: rnk Subscribers: llvm-commits, wang0109, kubabrecka, chrisha Differential Revision: http://reviews.llvm.org/D21886 llvm-svn: 274231
-
Etienne Bergeron authored
Summary: The alloca header is not present on windows. This test was committed recently: http://reviews.llvm.org/D21509 http://reviews.llvm.org/rL273889 Reviewers: rnk Subscribers: llvm-commits, wang0109, chrisha, kubabrecka Differential Revision: http://reviews.llvm.org/D21864 llvm-svn: 274230
-
Sanjay Patel authored
llvm-svn: 274229
-
Sanjay Patel authored
If the incoming types are i1, then we don't have to pattern match any sext ops. Differential Revision: http://reviews.llvm.org/D21740 llvm-svn: 274228
-
Vassil Vassilev authored
This should fix modules builds on platforms other than Darwin after r274196. llvm-svn: 274227
-
Rafael Espindola authored
llvm-svn: 274226
-
Rafael Espindola authored
llvm-svn: 274225
-
Michael Zuckerman authored
Differential Revision: http://reviews.llvm.org/D21836 llvm-svn: 274224
-
Dmitry Polukhin authored
llvm-svn: 274223
-
Dmitry Polukhin authored
Original patch by Stefan Bühler http://reviews.llvm.org/D12834 Difference between original and this one: - fixed all failing tests - fixed mangling for global variable outside namespace - emit ABI tags for guards and local names - clang-format + other stylistic changes - significantly reworked patch according to Richard's suggestions Sema part, committed before http://reviews.llvm.org/D17567 Differential revision: http://reviews.llvm.org/D18035 llvm-svn: 274222
-
Benjamin Kramer authored
Then mark it as XFAIL because it always fails. I'll let OpenCL people figure this out. llvm-svn: 274221
-
Nikolay Haustov authored
Summary: Summary: Change Clang calling convention SpirKernel to OpenCLKernel. Set calling convention OpenCLKernel for amdgcn as well. Add virtual method .getOpenCLKernelCallingConv() to TargetCodeGenInfo and use it to set target calling convention for AMDGPU and SPIR. Update tests. Reviewers: rsmith, tstellarAMD, Anastasia, yaxunl Subscribers: kzhuravl, cfe-commits Differential Revision: http://reviews.llvm.org/D21367 llvm-svn: 274220
-
Rui Ueyama authored
In general, we accept both -foo and --foo as command line options, but if an option is a single letter option, we don't want to allow double dashes because GNU linkers don't accept such combination. llvm-svn: 274219
-
Michael Zuckerman authored
Differential Revision: http://reviews.llvm.org/D21734 llvm-svn: 274218
-
Haojian Wu authored
Reviewers: aaron.ballman Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D21860 llvm-svn: 274217
-
Jonas Paulsson authored
This processor feature had been left out by mistake from the z13 ProcessorModel. This time with updated test case. Thanks, Hans. Reviewed by Ulrich Weigand. llvm-svn: 274216
-
Omair Javaid authored
I overlooked the possibility of certain targets translating increment statement into a read and write. In this case we replace increment statement with an assignment. llvm-svn: 274215
-
Eric Fiselier authored
* P0163r0: Implemented in r273839. * LWG 2309: pthread_mutex_lock only returns this error if certain debug flags were passed during construction. libc++ does not pass these flags. There is nothing to do. * LWG 2310: Wording fix. No impact on libc++'s implementation. * LWG 2312: libc++'s std::tuple implementation already constrains the overloads based on the number of arguments. * LWG 2549: libc++'s std::tuple already applied this fix. * LWG 2674: libc++ already depends on this relaxed wording. * LWG 2704, 2706, 2707, 2719, 2720, 2721, 2723, 2725, 2728: All of these filesystem were either submitted by me and fixed before submission, or have already been applied. llvm-svn: 274214
-
Pankaj Gode authored
Adding scheduling model for new Broadcom Vulcan core (ARMv8.1A). Differential Revision: http://reviews.llvm.org/D21728 llvm-svn: 274213
-
Michael Gottesman authored
llvm-svn: 274212
-
Eric Fiselier authored
llvm-svn: 274211
-
Eric Fiselier authored
llvm-svn: 274210
-
Eric Fiselier authored
Since at least the C++11 standard insert iterators are specified as having ::reference typedef void. Libc++ was not doing that. This patch corrects the typedef. This patch changes the std::iterator base class of insert_iterator, front_insert_iterator and back_insert_iterator. This should not be an ABI breaking change. llvm-svn: 274209
-
Craig Topper authored
Use ShuffleVectorSDNode::isSplat member method instead of static method isSplatMask where the mask came directly from getMask() on a shuffle node. llvm-svn: 274208
-
Eric Fiselier authored
llvm-svn: 274207
-
Eric Fiselier authored
llvm-svn: 274206
-
Eric Fiselier authored
llvm-svn: 274205
-
Eric Fiselier authored
llvm-svn: 274204
-