- Nov 06, 2018
-
-
Joel E. Denny authored
This feature makes it easy to tune FileCheck diagnostic output when running the test suite via ninja, a bot, or an IDE. For example: ``` $ FILECHECK_OPTS='-color -v -dump-input-on-failure' \ LIT_FILTER='OpenMP/for_codegen.cpp' ninja check-clang \ | less -R ``` Reviewed By: probinson Differential Revision: https://reviews.llvm.org/D53517 llvm-svn: 346272
-
Reid Kleckner authored
llvm-svn: 346271
-
Vitaly Buka authored
llvm-svn: 346270
-
Jessica Paquette authored
Instead of iterating over the leaves to find repeated substrings, and walking collecting leaf children when we don't necessarily need them, let's just calculate what we need and iterate over that. By doing this, we don't have to save every leaf. It's easier to read the code too and understand what's going on. The goal here, at the end of the day, is to set up to allow us to do something like for (RepeatedSubstring &RS : ST) { ... do stuff with RS ... } Which would let us perform the cost model stuff and the repeated substring query at the same time. llvm-svn: 346269
-
Reid Kleckner authored
llvm-svn: 346268
-
Yaxun Liu authored
Add this option for debugging and providing workaround. By default it is off so no behavior change in backend. Differential Revision: https://reviews.llvm.org/D54158 llvm-svn: 346267
-
Aaron Ballman authored
Instead, advance the old-fashioned way, as std::next() cannot be used on an input iterator until C++17. llvm-svn: 346266
-
Reid Kleckner authored
Summary: Some CPUID leafs depend on the value of ECX as well as EAX, but we left it uninitialized. Originally reported as https://crbug.com/901547 Reviewers: craig.topper, hans Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D54171 llvm-svn: 346265
-
Benjamin Kramer authored
compiler-rt/lib/dfsan/dfsan.cc:426:3: error: call to 'InitializePlatformEarly' is ambiguous InitializePlatformEarly(); ^~~~~~~~~~~~~~~~~~~~~~~ compiler-rt/lib/dfsan/../sanitizer_common/sanitizer_common.h:901:6: note: candidate function void InitializePlatformEarly(); ^ compiler-rt/lib/dfsan/dfsan.cc:391:13: note: candidate function static void InitializePlatformEarly() { ^ llvm-svn: 346264
-
Konstantin Zhuravlyov authored
llvm-svn: 346263
-
Kuba Mracek authored
This speeds up process startup and teardown and also reduces lock contention when running multiple ASanified/TSanified processes simultaneously. Should greatly improve lit testing time. Differential Revision: https://reviews.llvm.org/D48445 llvm-svn: 346262
-
Teresa Johnson authored
Summary: The NotEligibleToImport flag on the GlobalValueSummary was set if it isn't legal to import (e.g. because it references unpromotable locals) and when it can't be inlined (in which case importing is pointless). I split out the inlinable piece into a separate flag on the FunctionSummary (doesn't make sense for aliases or global variables), because in the future we may want to import for reasons other than inlining. Reviewers: davidxl Subscribers: mehdi_amini, inglorion, eraman, steven_wu, dexonsmith, arphaman, llvm-commits Differential Revision: https://reviews.llvm.org/D53345 llvm-svn: 346261
-
Jordan Rupprecht authored
llvm-svn: 346260
-
Craig Topper authored
[X86] Add custom promotion of v2i8/v2i16 fp_to_sint to avoid over promotion to v2i64 which would force scalarization. llvm-svn: 346259
-
Vitaly Buka authored
Subscribers: kubamracek, krytarowski, fedor.sergeev, llvm-commits Differential Revision: https://reviews.llvm.org/D54163 llvm-svn: 346258
-
Vitaly Buka authored
Subscribers: kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D54165 llvm-svn: 346257
-
Vedant Kumar authored
The lowering for a call to eh_typeid_for changes when it's moved from one function to another. There are several proposals for fixing this issue in llvm.org/PR39545. Until some solution is in place, do not allow CodeExtractor to extract calls to eh_typeid_for, as that results in serious miscompilations. llvm-svn: 346256
-
Vedant Kumar authored
When CodeExtractor moves instructions to a new function, debug intrinsics referring to those instructions within the parent function become invalid. This results in the same verifier failure which motivated r344545, about function-local metadata being used in the wrong function. llvm-svn: 346255
-
Matthias Braun authored
Change the type in a couple of lists and sets that only store physical registers from unsigned to MCPhysRegs. The later is only 16bits and saves us a bit of memory. llvm-svn: 346254
-
Volkan Keles authored
llvm-svn: 346253
-
Justin Bogner authored
SmallVector was changed to store a begin and a size rather than a begin and an end a while back. Update the formatter to look at the correct members. llvm-svn: 346252
-
Volkan Keles authored
It was causing a crash because we were trying to get the definition of a target register. Fixed the issue by adding a check and added a test case for that. llvm-svn: 346251
-
Eli Friedman authored
Non-GNU environments don't have __finite_*, so treat them as unavailable. Differential Revision: https://reviews.llvm.org/D51282 llvm-svn: 346250
-
Derek Schuff authored
llvm-svn: 346249
-
Derek Schuff authored
Used for WebAssembly threads proposal. Add a flag --shared-memory which sets the IS_SHARED bit in WasmLimits Differential Revision: https://reviews.llvm.org/D54130 llvm-svn: 346248
-
Davide Italiano authored
llvm-svn: 346247
-
Derek Schuff authored
Support the IS_SHARED bit in the memory limits flag word. The compiler does not create object files with memory definitions, but the field is used by the linker. Differential Revision: https://reviews.llvm.org/D54131 llvm-svn: 346246
-
Sanjay Patel authored
llvm-svn: 346245
-
Davide Italiano authored
llvm-svn: 346244
-
Sanjay Patel authored
llvm-svn: 346243
-
Sanjay Patel authored
llvm-svn: 346242
-
Sanjay Patel authored
llvm-svn: 346241
-
Sanjay Patel authored
llvm-svn: 346240
-
Sanjay Patel authored
llvm-svn: 346239
-
Sanjay Patel authored
llvm-svn: 346238
-
Elizabeth Andrews authored
This patch disables exceptions in Microsoft STL when exception handling is not enabled in Benchmark project. It fixes Windows builds that were failing due to C4530 warnings thrown by MS STL. Differential Revision: https://reviews.llvm.org/D52998 llvm-svn: 346237
-
Sanjay Patel authored
Also, remove some stale FIXME comments ( rL346234 ). llvm-svn: 346236
-
Sanjay Patel authored
llvm-svn: 346235
-
Sanjay Patel authored
This is another part of solving PR39475: https://bugs.llvm.org/show_bug.cgi?id=39475 This might be enough to fix that particular issue, but as noted with the FIXME, we're still dropping FMF on other folds around here. llvm-svn: 346234
-
Pavel Labath authored
Summary: Now that llvm demangler supports more generic customization, we can implement type substitution directly on top of this API. This will allow us to remove the specialized hooks which were added to the demangler to support this use case. Reviewers: sgraenitz, erik.pilkington, JDevlieghere Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D54074 llvm-svn: 346233
-