- Mar 22, 2017
-
-
Aaron Ballman authored
Reverting r298421 due to using a header that's unavailable to all systems and some other post-commit review feedback. llvm-svn: 298470
-
Adam Nemet authored
It does not need it and causes mismatch after -ffp-contract=fast is turned into an FMF. llvm-svn: 298469
-
Adam Nemet authored
(I don't have powerpc enabled in my build and I am changing how -ffp-contract=fast works.) llvm-svn: 298468
-
Reid Kleckner authored
Summary: This is compatible with MSVC link.exe. Reviewers: ruiu Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D31224 llvm-svn: 298467
-
Zachary Turner authored
There are only two users of NativeRegisterContextRegisterInfo, and both are in process plugins. Moving this code from Host to Plugins/Process/Utility thus makes sense, and as it is the only dependency from Host -> PluginProcessUtility, it also breaks this cycle, reducing LLDB's overall cycle count from 45 to 44. llvm-svn: 298466
-
Zachary Turner authored
Differential Revision: https://reviews.llvm.org/D31129 llvm-svn: 298465
-
Bruno Cardoso Lopes authored
This restores behavior pre-r230064 since after PCMCache work (r298278) we don't reload PCMs from disk within the same compiler invocation. Testcases from r230064 are still left around since they still guarantee the correct behavior we're expecting. rdar://problem/19889777 llvm-svn: 298464
-
Rui Ueyama authored
This is a shorthand for Config->Wordsize == 8. So this is not strictly necessary but seems handy. "Is 64 bit?" is easier to read than "Is wordsize 8 byte?" llvm-svn: 298463
-
Adam Nemet authored
Set the flags on FAdd locally rather than assuming nothing will change it from way earlier in the test. llvm-svn: 298462
-
Zachary Turner authored
The issue was trying to advance past the end of the iterator when computing the end() iterator. llvm-svn: 298461
-
Ahmed Bougacha authored
Quentin points out that r298358 would cause us to emit different code with debug info. That's a big no-no; also erase the instructions that only live thanks to DBG_VALUE users. Adrian explained how this is an existing problem and an OK thing to do: clang has allocas for all variables so shouldn't be affected at -O0, but swift uses a bit of inlineasm to explicitly keep values live for the purpose of debug info quality. I'm not sure there is a better scheme. llvm-svn: 298460
-
Ahmed Bougacha authored
MI can represent fallthrough to layout successor blocks, and our post-isel representation uses that extensively. We might as well use it too, to avoid translating and carrying along unnecessary branches. llvm-svn: 298459
-
Craig Topper authored
I don't think validAlignment has been used since r34358 in 2007. I think validPointer was copied from validAlignment some time later, but it definitely wasn't used in the first commit that contained it. llvm-svn: 298458
-
Rui Ueyama authored
LinkerScript used to be a template class, so we couldn't instantiate that class in elf::link. We instantiated ScriptConfig class earlier instead so that the linker script parser can store configurations to the object. Now that LinkerScript is not a template, it doesn't make sense to separate ScriptConfig from LinkerScript. This patch merges them. llvm-svn: 298457
-
Rui Ueyama authored
llvm-svn: 298456
-
Zachary Turner authored
When passing --discover-cycles and --show-counts, it displays the number of dependencies between each hop of the cycle, and sorts by the sum. Dependencies at the top of the list should be the easiest to break. llvm-svn: 298455
-
Matt Arsenault authored
llvm-svn: 298454
-
Tim Northover authored
The world isn't just x86 & ARM, some targets need to store -1 into the byte when legalizing a bool store. llvm-svn: 298453
-
Matt Arsenault authored
This is used for a specific type of return to a shader part's epilog code. Rename to try avoiding confusion from a true call's return. llvm-svn: 298452
-
Tim Hammerquist authored
<rdar://problem/31181635> M lldb.xcodeproj/project.pbxproj llvm-svn: 298451
-
Reid Kleckner authored
This reverts commit r296878. These test still require too much swap to pass reliably. llvm-svn: 298450
-
Eric Christopher authored
The alias was only ever used on darwin and had some issues there, and isn't used in practice much. Also fixes a problem with -mno-altivec not turning off -maltivec. Also add a diagnostic for faltivec/fno-altivec that directs users to use maltivec options and include the altivec.h file explicitly. llvm-svn: 298449
-
Matthias Braun authored
Fix two problems related to r298025: - SplitKit would create duplicate VNIs in some cases leading to crashs when hoisting copies. - VirtRegMap could fail expanding copies at the beginning of a basic block. This fixes http://llvm.org/PR32353 llvm-svn: 298448
-
Rui Ueyama authored
llvm-svn: 298447
-
Dehao Chen authored
Summary: We need to be able to disable samplepgo for specific files by supporting -fno-auto-profile and -fno-profile-sample-use Reviewers: davidxl, dnovillo, echristo Reviewed By: echristo Subscribers: echristo, cfe-commits Differential Revision: https://reviews.llvm.org/D31213 llvm-svn: 298446
-
Rui Ueyama authored
This is a shorthand for `Config->IsLE ? support::little : support::big`. llvm-svn: 298445
-
Matt Arsenault authored
Currently the default C calling convention functions are treated the same as compute kernels. Make this explicit so the default calling convention can be changed to a non-kernel. Converted with perl -pi -e 's/define void/define amdgpu_kernel void/' on the relevant test directories (and undoing in one place that actually wanted a non-kernel). llvm-svn: 298444
-
Benjamin Kramer authored
No functionality change intended. llvm-svn: 298443
-
Benjamin Kramer authored
No functionality change intended. llvm-svn: 298442
-
Argyrios Kyrtzidis authored
llvm-svn: 298441
-
Zachary Turner authored
This is causing crashes in clang, so reverting until the problem is figured out. llvm-svn: 298440
-
Tim Northover authored
A bool is represented by a single byte, which the ARM ABI requires to be either 0 or 1. So we cannot use G_ANYEXT when legalizing the type. llvm-svn: 298439
-
Marshall Clow authored
llvm-svn: 298438
-
Zachary Turner authored
llvm-svn: 298437
-
Zachary Turner authored
StringMap's iterators did not support LLVM's iterator_facade_base, which made it unusable in various STL algorithms or with some of our range adapters. This patch makes both StringMapConstIterator as well as StringMapIterator support iterator_facade_base. With this in place, it is easy to make an iterator adapter that iterates over only keys, and whose value_type is StringRef. So I add StringMapKeyIterator as well, and provide the method StringMap::keys() that returns a range that can be iterated. Differential Revision: https://reviews.llvm.org/D31171 llvm-svn: 298436
-
Zachary Turner authored
llvm-svn: 298435
-
Chandler Carruth authored
ADL as reasonable extension points. All of this would be cleaner if this code followed the more usual LLVM convention of not having deeply nested namespaces inside of .cpp files and instead having a `using namespace ...;` at the top. Then the static function would be in the global namespace and easily referred to as `::join`. Instead we have to write a fairly contrived qualified name. I figure the authors can clean this up with a less ambiguous name, using the newly provided LLVM `join` function, or any other solution, but this at least fixes the build. llvm-svn: 298434
-
Erich Keane authored
llvm-svn: 298433
-
Sanjay Patel authored
llvm-svn: 298432
-
George Burgess IV authored
D28494 adds another parameter to @llvm.objectsize. Clang needs to be sure to pass that third arg whenever applicable. llvm-svn: 298431
-