- Dec 06, 2022
-
-
Matt Arsenault authored
-
chenglin.bi authored
-
- Dec 05, 2022
-
-
Nico Weber authored
Fixes #59162. The test has a comment explaining what's going on. See also Symbol::extract() in lld/ELF/Symbols.cpp. The included test sadly also passes if I pass just bd448f01, while doing that isn't enough to make my bigger repro case work (if I port just that, something else asserts later on, but with this fix here everything's fine in my bigger repro). Differential Revision: https://reviews.llvm.org/D139199
-
Michał Górny authored
This reverts commit f55880e8. The original change was reverted.
-
Sjoerd Meijer authored
-
Sjoerd Meijer authored
-
Peter Klausler authored
Given a MODULE SUBROUTINE or MODULE FUNCTION interface followed later by a corresponding separate module subprogram definition in a MODULE PROCEDURE, the copies of the interface's dummy argument and function result symbols that populate the initial scope of that MODULE PROCEDURE need to have any symbol references in their types or bounds adjusted to point to their new counterparts. Differential Revision: https://reviews.llvm.org/D139200
-
Samira Bazuzi authored
In C++20, types that declare or delete any constructors are no longer aggregates, breaking compilation of many existing uses of aggregate initialization. Although `Verbatim` declares itself to not have a no-arg default constructor, this is circumvented in `basic-parsers.h` which returns a `RESULT{}` a.k.a. `Verbatim{}`. Adding the no-arg constructor while still deleting the copy/assignment constructors maintains the current state and also supports eventually building this in c++20 mode. Fix suggested in https://discourse.llvm.org/t/build-failure-when-attempting-to-build-flang-with-c-20/66953. Reviewed By: klausler Differential Revision: https://reviews.llvm.org/D139228 -
Florian Hahn authored
The implicit index truncate example is currently being miscompiled.
-
Sjoerd Meijer authored
This reverts commit 3ea6a9a4 because of the reported miscompilation in: https://github.com/llvm/llvm-project/issues/59339
-
bipmis authored
Muls with 64bit operands where each of the operand is having more than 32 sign bits, we can generate a single smull instruction on a 32bit operand. Differential Revision: https://reviews.llvm.org/D138817
-
Matt Arsenault authored
I tried to test the fallthrough to noundef callsite return attribute case, but it seems that folds out as-is.
-
Emmmer authored
Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D139294
-
Matt Arsenault authored
-
LLVM GN Syncbot authored
-
Dmitry Vyukov authored
aarch64 builder broke with: -- Supported architectures for crt: aarch64 CMake Error at compiler-rt/cmake/config-ix.cmake:244 (message): Unsupported architecture: x86_64 Call Stack (most recent call first): compiler-rt/cmake/config-ix.cmake:280 (get_target_flags_for_arch) compiler-rt/test/metadata/CMakeLists.txt:7 (get_test_cc_for_arch) -- Configuring incomplete, errors occurred! https://lab.llvm.org/buildbot/#/builders/223/builds/11423 Restrict the tests to x86_64 only. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D139323
-
Roman Lebedev authored
-
Matt Arsenault authored
-
Joseph Huber authored
Summary: This portion of the code was unused until now and wasn't properly updated after we moved to using `StringRef`.
-
Dmitry Vyukov authored
Currently per-function metadata consists of: (start-pc, size, features) This adds a new UAR feature and if it's set an additional element: (start-pc, size, features, stack-args-size) Reviewed By: melver Differential Revision: https://reviews.llvm.org/D136078
-
Matt Arsenault authored
Handle canonicalize and arithmetic.fence
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
Move its definition to be with the other FP rounding intrinsics.
-
Vladislav Dzhidzhoev authored
After IRTranslator pass, constants are deduplicated and translated into instructions at entry block, having debug locations lost. Localization of constants may cause emission of extra zero lines in debug_line section, like here https://godbolt.org/z/ecvsxxfKn. In this example, constant gets placed as a first instruction in entry block, and despite it has no debug location, AsmPrinter emits zero line for it. If a localized constant has the only user, we can assume that it has the same debug location as its user, since they are placed consequently. Differential Revision: https://reviews.llvm.org/D128192
-
Juan Manuel MARTINEZ CAAMAÑO authored
Reviewed By: tra Differential Revision: https://reviews.llvm.org/D139023
-
Dmitry Preobrazhensky authored
Differential Revision: https://reviews.llvm.org/D138661
-
Haojian Wu authored
-
Sander de Smalen authored
Reviewed By: david-arm, paulwalker-arm Differential Revision: https://reviews.llvm.org/D139111
-
Florian Hahn authored
Update the comment to reflect the current code.
-
Guray Ozen authored
Incrementing `counter` variable is inside the if statement. If the code does not enter there, the while loop will iterate infinitely. This revision moves the codes outside of if statement. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D139005
-
luxufan authored
The equality state of a not-constant can be used to do constant propagation. For example, ``` define i32 @equal_not_constant(ptr noundef %p, ptr noundef %q) { entry: %cmp = icmp ne ptr %p, null br i1 %cmp, label %if.then, label %if.end if.then: ; preds = %entry %cmp.then = icmp eq ptr %p, %q br i1 %cmp.then, label %if.then1, label %if.end if.then1: ; preds = %if.then %cmp.then1 = icmp ne ptr %q, null call void @use(i1 %cmp.then1) br label %if.end if.end: ret i32 0 } ``` In this case, we can fold `%cmp.then1` as `true`. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D139289 -
Petar Avramovic authored
Remove check that instruction has src_modifiers because isRegOrImmWithInputMods essentially includes this check. isMod is no longer used after the refactor. Also, was unreachable case inside for loop. clamp and omod operands are handled after the loop. Differential Revision: https://reviews.llvm.org/D139194
-
David Spickett authored
So that when you do something like: -DLLVM_ENABLE_RUNTIMES=;compiler-rt;libcxx;libcxxabi;libunwind You get: Runtime "" is not a supported runtime. Supported runtimes are: Instead of: Runtime is not a supported runtime. Supported runtimes are: Which implies that "Runtime" is the name of the runtime you tried to build, but in fact it was "".
-
Haojian Wu authored
category.
-
Tomas Matheson authored
This reverts commit e83f1502. Did not build with C++20 and caused problems with dynamic libs.
-
Nikita Popov authored
This adds SCCP support for extractvalues of with.overflow. We compute both the range of the result value and determine when the overflow value is always false. Differential Revision: https://reviews.llvm.org/D137713
-
Michael Buch authored
-
Max Kazantsev authored
Just to distinguish it from symbolic max which we plan to compute here as well.
-
Simon Pilgrim authored
-