- Jul 21, 2022
-
-
River Riddle authored
These characters are annoying in that they accept completions that weren't intended, causing user frustration.
-
Philip Reames authored
Noticed via inspection; to my knowledge, impossible to hit today. In theory, we could have a fixed stride check be analyzed, then a scalable one. With the old code, the scalable one would be silently dropped, and the runtime guard would go ahead with only the fixed one. This would be a miscompile.
-
Konstantin Varlamov authored
Reviewed By: #libc, huixie90, ldionne Differential Revision: https://reviews.llvm.org/D130070
-
Keith Smiley authored
Similar to cstrings ld64 always deduplicates cfstrings. This was already being done when enabling ICF, but for debug builds you may want to flip this on if you cannot eliminate your instances of this, so this change makes --deduplicate-literals also apply to cfstrings. Differential Revision: https://reviews.llvm.org/D130134
-
Xiang Li authored
A new option -I is added for dxc mode. It is just alias of existing cc1 -I option. Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D128462
-
Craig Topper authored
If we are right shifting a multiply by a negated power of 2 where the power of 2 is the same as the shift amount, we can replace with a negate followed by an And. New tests have not been committed yet but the patch shows the diffs. Let me know if you want any changes or additional tests. Differential Revision: https://reviews.llvm.org/D130103
-
Craig Topper authored
-
Arthur Eubanks authored
-
Hubert Tong authored
https://lab.llvm.org/buildbot/#/builders/214/builds/2425 reports these tests as XPASS.
-
Arthur Eubanks authored
Issue #38784 seems to be fixed and removing these doesn't cause any issues.
-
Joe Nash authored
VOPC DPP should not be formed when the row_mask and bank_mask are not 0xf (full) because the resulting VOP DPP would have different semantics than the MOV DPP followed by VOP. Existing checks in GCNDPPCombine cover this case but for different reasons, so assert the property for future-proofing. Reviewed By: nhaehnle Differential Revision: https://reviews.llvm.org/D130101
-
Mark de Wever authored
-
Alex Bradbury authored
Due to the late expansion of the compare exchange sequences, there's scope for improving codegen by folding the branches into the cmpxchg loop (avoiding a branch-to-branch).
-
LLVM GN Syncbot authored
-
Kazu Hirata authored
This patch restores a call to has_value to make it clear that we are checking the presence of an optional value, not the underlying value. This patch partially reverts d08f34b5. Differential Revision: https://reviews.llvm.org/D129453
-
Mark de Wever authored
This implements the Grapheme clustering as required by P1868R2 width: clarifying units of width and precision in std::format This was omitted in the initial patch, but the paper was marked as completed. This really completes the paper. Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D126971
-
Tarun Prabhu authored
Test compile-time folding of the leadz, trailz, popcnt and poppar Fortran 2008 intrinsics. Differential Revision: https://reviews.llvm.org/D129610
-
Ruobing Han authored
Put AllocationFn check before I->willReturn can allow CodeGenPrepare to remove useless malloc instruction Differential Revision: https://reviews.llvm.org/D130126
-
Mark de Wever authored
This is a preparation for the upcoming LLVM 16 release. Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D130031
-
Alex Bradbury authored
-
Kazu Hirata authored
-
- Jul 20, 2022
-
-
Kazu Hirata authored
Flang C++ Style Guide tells us to use x.value() when no presence test is obviously protecting the reference. Since assert can be disabled, I don't count it as "protection" here. Differential Revision: https://reviews.llvm.org/D130144
-
Philip Reames authored
-
Joseph Huber authored
This reverts commit 643dfd97. This patch still makes the AMDGPU buildbots unhappy. Reverting for now until the AMD folks figure it out.
-
Joseph Huber authored
Summary: The test passed -offload-lto instead of -foffload-lto.
-
Jake Egan authored
The test failure affects both bitmodes.
-
Philip Reames authored
-
Jake Egan authored
The test failure affects both bitmodes.
-
Martin Storsjö authored
Print the actual number of symbols that would have been exported too, which helps assessing the situation. Differential Revision: https://reviews.llvm.org/D130117
-
Roman Rusyaev authored
This change improves ctags generation for tablegen files. For the following example ``` class A; class A { int a; } ``` Previously, tags were generated only for a forward declaration of class 'A'. This patch allows generating tags for the forward declarations and further definition of class 'A'. Reviewed By: barannikov88 Original patch by: rusyaev-roman (Roman Rusyaev) Some adjustments by: nhaehnle (Nicolai Hähnle) Differential Revision: https://reviews.llvm.org/D129935 -
Joseph Huber authored
This patch makes libomptarget depend on LLVM libraries to be built. The reason for this is because we already have an implicit dependency on LLVM headers for ELF identification and extraction as well as an optional dependenly on the LLVMSupport library for time tracing information. Furthermore, there are changes in the future that require using more LLVM libraries, and will heavily simplify some future code as well as open up the large amount of useful LLVM libraries to libomptarget. This will make "standalone" builds of `libomptarget' more difficult for vendors wishing to ship their own. This will require a sufficiently new version of LLVM to be installed on the system that should be picked up by the existing handling for the implicit headers. The things this patch changes are as follows: - `libomptarget.so` links against LLVMSupport and LLVMObject - `libomptarget.so` is a symbolic link to `libomptarget.so.15` - If using a shared library build, user applications will depend on LLVM libraries as well - We can now use LLVM resources in Libomptarget. Note that this patch only changes this to apply to libomptarget itself, not the plugins. Additional patches will be necessary for that. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D129875 -
Ingo Müller authored
This is my very first contact with this dialect, so I am not very confident with this commit, but it seems like the op returns a memref, not a tensor, so that's what comment about the result type should say. [mlir][bufferization][doc] Improve typesetting of inline code. Fix Typo. Reviewed By: pifon2a Differential Revision: https://reviews.llvm.org/D130159
-
Louis Dionne authored
Move -lc++experimental before -lc++abi (that was forgotten in the original patch), and mark a test as UNSUPPORTED on AIX. I contacted the owners of the AIX bot that failed because I was unable to reproduce the issue locally.
-
Jay Foad authored
Change a couple of RUN lines to not depend on the presence or position of the IR code sinking pass in the codegen pipeline, since it does not belong in there anyway.
-
Philip Reames authored
An srem or sdiv has two cases which can cause undefined behavior, not just one. The existing code did not account for this, and as a result, we miscompiled when we encountered e.g. a srem i64 %v, -1 in a conditional block. Instead of hand rolling the logic, just use the utility function which exists exactly for this purpose. Differential Revision: https://reviews.llvm.org/D130106
-
Carlos Alberto Enciso authored
As discussed on: https://discourse.llvm.org/t/build-llvm-release-bat-script-options/63146/6 Giving: call :function if errorlevel 1 exit /b 1 Due to a missing new line, the error code returned by the function is taking as another argument. Changed to use standard '||' to exit if the errorlevel greater than zero. call :function || exit /b 1 Reviewed By: hans Differential Revision: https://reviews.llvm.org/D130154
-
Nicolai Hähnle authored
When F calls G calls H, G is nounwind, and G is inlined into F, then the inlined call-site to H should be effectively nounwind so as not to lose information during inlining. If H itself is nounwind (which often happens when H is an intrinsic), we no longer mark the callsite explicitly as nounwind. Previously, there were cases where the inlined call-site of H differs from a pre-existing call-site of H in F *only* in the explicitly added nounwind attribute, thus preventing common subexpression elimination. v2: - just check CI->doesNotThrow v3 (resubmit after revert at 34437880): - update Clang tests Differential Revision: https://reviews.llvm.org/D129860
-
Max Kazantsev authored
In fact, in unreached code we can say that every fact is true. So do not waste time trying to do something smarter. Formally it's not an NFC because it may change query results in unreached code, but they won't have any impact on execution. Hypothetical CT boost expected but not measured in practice. Differential Revision: https://reviews.llvm.org/D129878
-
Nicolai Hähnle authored
-
Andrzej Warzynski authored
This update makes sure that `flang-new -O2 -O0` will run at `-O0` rather than `-O2`. This bug was identified and originally fixed by Vyacheslav Zakharin in https://reviews.llvm.org/D130035. I've extracted the fix into a separate patch. co-authored by: Vyacheslav Zakharin <vyacheslav.p.zakharin@intel.com> Differential Revision: https://reviews.llvm.org/D130104
-