- Mar 06, 2020
-
-
Matt Arsenault authored
This reverts commit 737394c4. The fp-model test was failing on platforms that enable denormal flushing based on -ffast-math. This needs to reset to IEEE, not the default in these cases. Change-Id: Ibbad32f66d0d0b89b9c1173a3a96fb1a570ddd89
-
Adrian Prantl authored
-
Raphael Isemann authored
Summary: Otherwise this code won't run on the Release+Asserts builds we have on the CI. Fixes rdar://problem/59867885 (partly) Reviewers: aprantl Reviewed By: aprantl Subscribers: JDevlieghere, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D75493
-
Gongyu Deng authored
Summary: Fix a bug that tab completions won't synchronous the current execution context. ( Thanks for Jim's explanation! ) Reviewers: teemperor, labath, jingham Reviewed By: jingham Subscribers: jingham, labath Tags: #lldb Differential Revision: https://reviews.llvm.org/D75597
-
Roman Lebedev authored
Summary: This is potentially more friendly for further optimizations, analysies, e.g.: https://godbolt.org/z/G24anE This resolves phase-ordering bug that was introduced in D75145 for https://godbolt.org/z/2gBwF2 https://godbolt.org/z/XvgSua Reviewers: spatel, nikic, dmgreen, xbolva00 Reviewed By: nikic, xbolva00 Subscribers: hiraditya, zzheng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75757
-
Alexey Lapshin authored
llvm::call_once(initDwarfLine, [this]() { initializeDwarf(); }); Though it is not used in all places. I need that patch for implementing "Remove obsolete debug info" feature (D74169). But this caching mechanism is useful by itself, and I think it would be good to use it without connection to "Remove obsolete debug info" feature. So this patch changes inplace creation of DWARFContext with its cached version. Depends on D74308 Reviewed By: ruiu Differential Revision: https://reviews.llvm.org/D74773
-
Adrian Prantl authored
Starting with iOS 13 simulator binaries are identified with an explicit platform in the new LC_BUILD_VERSION load command. On older deployment targets using the LC_VERSION_MIN load commands, this patch detects when an ios process runs on a macOS host and updates the target triple with the "simulator" environment accordingly. (Patch re-applied with bugfix this time). This is part of https://bugs.swift.org/browse/SR-11971 rdar://problem/58438125 Differential Revision: https://reviews.llvm.org/D75696
-
Adrian Prantl authored
This reverts commit 59d816d8. It broke TestGDBRemoteClient.
-
Craig Topper authored
There was a noop bitconvert in the load pattern. While there also make all the sources refer to src_v.RC even though its the same as _.RC, but its consistent.
-
Stephen Neuendorffer authored
In cmake, it is redundant to have a target list under target_link_libraries() and add_dependency(). This patch removes the redundant dependency from add_dependency(). Differential Revision: https://reviews.llvm.org/D74929
-
Adrian Prantl authored
-
Adrian Prantl authored
Starting with iOS 13 simulator binaries are identified with an explicit platform in the new LC_BUILD_VERSION load command. On older deployment targets using the LC_VERSION_MIN load commands, this patch detects when an ios process runs on a macOS host and updates the target triple with the "simulator" environment accordingly. (Patch re-applied without modifications, the bot failure was unrelated). This is part of https://bugs.swift.org/browse/SR-11971 rdar://problem/58438125 Differential Revision: https://reviews.llvm.org/D75696
-
Adrian Prantl authored
This reverts commit 59d816d8. It broke TestGDBRemoteClient.
-
Adrian Prantl authored
Starting with iOS 13 simulator binaries are identified with an explicit platform in the new LC_BUILD_VERSION load command. On older deployment targets using the LC_VERSION_MIN load commands, this patch detects when an ios process runs on a macOS host and updates the target triple with the "simulator" environment accordingly. This is part of https://bugs.swift.org/browse/SR-11971 rdar://problem/58438125 Differential Revision: https://reviews.llvm.org/D75696
-
Saar Raz authored
[Concepts] Add null check for TemplateTypeParmType::getDecl() in GetContainedInventedTypeParmVisitor GetContainedInventedTypeParmVisitor would not account for the case where TemplateTypeParmType::getDecl() is nullptr, causing bug #45102. Add the nullptr check.
-
Simon Pilgrim authored
As mentioned on D75748, there is no such target that has BMI/TBM support but not the much older CMOV.
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Added tests showing that the fshl/fshr -> combine() is working the wrong way around
-
Stephen Neuendorffer authored
CMake allows calling target_link_libraries() without a keyword, but this usage is not preferred when also called with a keyword, and has surprising behavior. This patch explicitly specifies a keyword when using target_link_libraries(). Differential Revision: https://reviews.llvm.org/D75725
-
Jin Lin authored
Summary: Fix incorrect logic in maintaining the side-effect of compiler generated outliner functions by adding the up-exposed uses. Reviewers: paquette, tellenbach Reviewed By: paquette Subscribers: aemerson, lebedev.ri, hiraditya, llvm-commits, jinlin Tags: #llvm Differential Revision: https://reviews.llvm.org/D71217
-
Alexey Bataev authored
Added basic support (parsing/sema/serialization) for depobj dependency kind in depend clauses.
-
Jay Foad authored
Summary: This folds the following family of intrinsics: llvm.amdgcn.cubeid (face id) llvm.amdgcn.cubema (major axis) llvm.amdgcn.cubesc (S coordinate) llvm.amdgcn.cubetc (T coordinate) Reviewers: nhaehnle, arsenm, rampitec Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75187
-
Jay Foad authored
Reviewers: ekatz, spatel, jfb, tlively, craig.topper, RKSimon, nikic, scanon Subscribers: arsenm, jvesely, nhaehnle, hiraditya, dexonsmith, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75744
-
Jay Foad authored
Summary: These implement the usual IEEE-style floating point comparison semantics, e.g. +0.0 == -0.0 and all operators except != return false if either argument is NaN. Subscribers: arsenm, jvesely, nhaehnle, hiraditya, dexonsmith, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75237
-
Roman Lebedev authored
If %y is constant, we could still perform the fold
-
Lucas Prates authored
Summary: Dollar signed prefixed integers were not allowed by the AsmParser to be used as Identifiers, differing from the GNU assembler behavior. This patch updates the parsing of Identifiers to consider such cases as valid, where the identifier string includes the $ prefix itself. As the Lexer currently splits these occurrences into separate tokens, those need to be combined by the AsmParser itself. Reviewers: efriedma, chill Reviewed By: efriedma Subscribers: sdardis, hiraditya, jrtc27, atanasyan, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75111
-
Lucas Prates authored
Summary: ARMAsmParser was incorrectly dropping a leading dollar sign character from symbol names in targets of branch instructions. This was caused by an incorrect assumption that the contents following the dollar sign token should be handled as a constant immediate, similarly to the # token. This patch avoids the operand parsing from consuming the dollar sign token when it is followed by an identifier, making sure it is properly parsed as part of the expression. Reviewers: efriedma Reviewed By: efriedma Subscribers: danielkiss, chill, carwil, vhscampos, kristof.beyls, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73176
-
Mitchell Balan authored
Summary: If AllowShortLoopsOnASingleLine is enabled, do a++; while (true); becomes do a++; while (true); Reviewers: MyDeveloperDay, mitchell-stellar Reviewed by: mitchell-stellar Contributed by: DaanDeMeyer Subscribers: cfe-commits Tags: #clang, #clang-format Differential Revision: https://reviews.llvm.org/D75022
-
Igor Kudrin authored
This is a follow-up for D75609. As @dblaikie suggested, it prints the actual number for an unknown section identifier when dumping unit index sections. Differential Revision: https://reviews.llvm.org/D75668
-
Krzysztof Parzyszek authored
-
Xiangling Liao authored
Handle LinkOnceODRLinkage; Handle AppendingLinkage type for llvm.global_ctors/dtors static init global arrays; Differential Revision: https://reviews.llvm.org/D75305
-
Jonas Hahnfeld authored
-
Aaron Puchert authored
Summary: The messages for two of the warnings are misleading: * warn_for_range_const_reference_copy suggests that the initialization of the loop variable results in a copy. But that's not always true, we just know that some conversion happens, potentially invoking a constructor or conversion operator. The constructor might copy, as in the example that lead to this message [1], but it might also not. However, the constructed object is bound to a reference, which is potentially misleading, so we rewrite the message to emphasize that. We also make sure that we print the reference type into the warning message to clarify that this warning only appears when operator* returns a reference. * warn_for_range_variable_always_copy suggests that a reference type loop variable initialized from a temporary "is always a copy". But we don't know this, the range might just return temporary objects which aren't copies of anything. (Assuming RVO a copy constructor might never have been called.) The message for warn_for_range_copy is a bit repetitive: the type of a VarDecl and its initialization Expr are the same up to cv-qualifiers, because Sema will insert implicit casts or constructor calls to make them match. [1] https://bugs.llvm.org/show_bug.cgi?id=32823 Reviewers: aaron.ballman, Mordante, rtrieu Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D75613
-
Adrian Kuegel authored
Summary: Also replace dyn_cast_or_null with dyn_cast when possible. Differential Revision: https://reviews.llvm.org/D75733
-
Sven van Haastregt authored
Various vload and vstore builtins were missing or misdefined in the TableGen description. Align the OpenCL vload* and vstore* builtins of the `-fdeclare-opencl-builtins` option to those of `opencl-c.h`. Reviewed-by:
Stuart Brady <stuart.brady@arm.com>
-
Sam McCall authored
Summary: Clangd's approach is to provide lots of completions, and let ranking sort them out. This relies on various important signals (Quality.h), without which the large completion lists are extremely spammy. Even with a completion result exactly at the cursor, vscode looks backwards and tries to match the presumed partial-identifier against filterText, and uses the result to rank, with sortText only used as a tiebreak. By prepending the partial-identifier to the filterText, we can force the match to be perfect and so give sortText full control of the ranking. Full sad story: https://github.com/microsoft/language-server-protocol/issues/898 It's possible to do this on the server side too of course, and switch it on with an initialization option. But it's a little easier in the extension, it will get the fix to users of old clangd versions, and other editors Reviewers: hokein Reviewed By: hokein Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D75623
-
Daniil Suchkov authored
With AssertingVHs instead of bare pointers in BlockFrequencyInfoImpl::Nodes (but without CallbackVHs) ~1/36 of all tests ran by make check fail. It means that there are users of BFI that delete basic blocks while keeping BFI. Some of those transformations add new basic blocks, so if a new basic block happens to be allocated at address where an already deleted block was and we don't explicitly set block frequency for that new block, BFI will report some non-default frequency for the block even though frequency for the block was never set. Inliner is an example of a transformation that adds and removes BBs while querying and updating BFI. With this patch, thanks to updates via CallbackVH, BFI won't keep stale pointers in its Nodes map. This is a resubmission of 408349a2 with fixed compiler warning and MSVC compilation error. Reviewers: davidxl, yamauchi, asbirlea, fhahn, fedor.sergeev Reviewed-By: asbirlea, davidxl Tags: #llvm Differential Revision: https://reviews.llvm.org/D75341
-
Simon Pilgrim authored
As noted on D75114, if both arguments of a funnel shift are consecutive loads we are missing the opportunity to combine them into a single load. Differential Revision: https://reviews.llvm.org/D75624
-
Georgii Rymar authored
Currently `yaml2obj` require `Offset` field in a relocation description. There are many cases when `Offset` is insignificant in a context of a test case. Making `Offset` optional allows to simplify our test cases. This is what this patch does. Also, with this patch `obj2yaml` does not dump a zero offset of a relocation. Differential revision: https://reviews.llvm.org/D75608
-
Georgii Rymar authored
The intention was to remove the `Object/X86/yaml-elf-x86-rel-broken.yaml test`, This test is at the wrong place. `yaml-elf-x86-rel-broken.yaml` was introduced in rG892c6c86ea25dc97668ff1f1b7bf1108e85fa5ec to check that yaml2obj can use an arbitrary `Hex32` value as a relocation type. We have tests that check the similar functionality. I've improved them and removed the `yaml-elf-x86-rel-broken.yaml` Differential revision: https://reviews.llvm.org/D75679
-