- Dec 05, 2022
-
-
Simon Pilgrim authored
-
Adrian Kuegel authored
-
Tiehu Zhang authored
Add patterns for: eor x, (eor y, z) -> eor3 x, y, z Reviewed By: dmgreen, sdesmalen Differential Revision: https://reviews.llvm.org/D138793 -
John McIver authored
* Add tbaa attribute checks * Add end-of-line check to load instructions
-
John McIver authored
* Add tbaa attribute checks * Add end-of-line check to load instructions
-
Valentin Clement authored
-
Max Kazantsev authored
These are simplified versions of one existing test, but we cannot deal with them either.
-
Valentin Clement authored
Lower pointer assignment with remapping involving polymorphic entities to runtime call to PointerAssociateRemapping. For the time being all pointer assignment involcing polymorphic entities are done with the runtime call. When lhs is not unlimited polymorphic we might be able to do it inlined as well. Reviewed By: jeanPerier, PeteSteinfeld Differential Revision: https://reviews.llvm.org/D139198
-
Nikita Popov authored
LAA analyzes cross-iteration memory dependencies, as such AA should not make assumptions about equality of values inside the loop, as they may come from different iterations. Fix this by exposing the MayBeCrossIteration AA flag and enabling it for LAA. Differential Revision: https://reviews.llvm.org/D137958
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D139221
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D139220
-
Fangrui Song authored
-
Jean Perier authored
The only special thing that is needed is to update the bridge symbol lookup to deal with the HLFIR symbol lookup (symbols are mapped to fir::FortranVariableInterface operations, not Fortran::Lower::SymbolBox). Differential Revision: https://reviews.llvm.org/D139201
-
Fangrui Song authored
PPC Darwin support was removed long ago.
-
Fangrui Song authored
Following recent changes to remove non-core features of the legacy PM/optimization pipeline. This is a new pass (2020-11) to generate remarks from !annotation metadata (e.g. -ftrivial-auto-var-init=).
-
Nikita Popov authored
This switches a large subset of PowerPC intrinsics to use default attributes (nosync, nofree, nocallback and willreturn). In particular the presence of willreturn is important to avoid optimization regression in the future. This patch primarily covers readnone/readonly intrinsics. Differential Revision: https://reviews.llvm.org/D137629
-
Nikita Popov authored
These deprecated functions are incompatible with opaque pointers, and have replacements that accept an explicit type. Drop them now as a final warning to consumers of the C API to migrate their code (while LLVMGetElementType still exists as a temporary workaround). Differential Revision: https://reviews.llvm.org/D135271
-
Vassil Vassilev authored
D127284 introduced a new language option which is not benign from modules perspective. Before this patch lldb would set up the compiler invocation and later enable incremental processing. Post-D127284 this does not work because the option causes a module hash mismatch for implicit modules. In addition, D127284 enables parsing statements on the global scope if incremental processing is on and thus `syntax_error_for_lldb_to_find` was rightfully not recognized as a declaration and is considered a statement which produces a slightly different diagnostic. Thanks to Michael Buch for the help in understanding this issue. This patch should appease the lldb bots. More discussion available at: https://reviews.llvm.org/D127284
-
Nikita Popov authored
-
Adrian Kuegel authored
-
Nikita Popov authored
D138014 restricted AST to work on immutable IR. This means it is also safe to use a single BatchAA instance for the entire AST lifetime, instead of only batching parts of individual queries. The primary motivation for this is not compile-time, but rather having a central place to control cross-iteration AA, which will be used by D137958. Differential Revision: https://reviews.llvm.org/D137955
-
Fangrui Song authored
-
Vitaly Buka authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Kazu Hirata authored
This patch adds forward declarations of raw_ostream to those header files that are relying on the forward declaration of raw_ostream in llvm/include/llvm/ADT/Optional.h. I'm planning to move operator<< for Optional<T> and std::optional<T> from Optional.h to llvm/include/llvm/Support/raw_ostream.h. Once I do so, we no longer need to forward-declare raw_ostream in Optional.h.
-
Fangrui Song authored
https://github.com/riscv/riscv-elf-psabi-doc/pull/190 introduced STO_RISCV_VARIANT_CC. The linker should: * Copy the STO_RISCV_VARIANT_CC bit to .symtab/.dynsym: already fulfilled after 82ed93ea * Produce DT_RISCV_VARIANT_CC if at least one R_RISCV_JUMP_SLOT relocation references a symbol with the STO_RISCV_VARIANT_CC bit. Done by this patch. Reviewed By: kito-cheng Differential Revision: https://reviews.llvm.org/D107951
-
esmeyi authored
-
Fangrui Song authored
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Fangrui Song authored
-
Fangrui Song authored
-
Yeting Kuo authored
The patch is split from D103435. The patch supported a new directive .variant_cc that annotates function with STO_RISCV_VARIANT_CC. Symbols marked with STO_RISCV_VARIANT_CC do not use standard calling conversion or use parameter not passed in GPR/FPR. Related: https://github.com/riscv/riscv-elf-psabi-doc/pull/190 Initial authored by: HsiangKai Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D138352
-
Fangrui Song authored
Many llvm/IR/* files have been migrated by other contributors. This migrates most remaining files.
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Weining Lu authored
See definition in backend D134709 and the doc [1] for more detail. With the benefit of this change, most libcxx and libcxxabi tests pass. [1]: https://llvm.org/docs/ExceptionHandling.html Reviewed By: xen0n, wangleiat Differential Revision: https://reviews.llvm.org/D139177
-
Fangrui Song authored
The use of union isn't really necessary. So just flatten its fields.
-
Chen Zheng authored
Add support for fptosi,fptoui,sitofp,uitofp For now only handle 64 bit integer to make it does not depend on any other patches. 32 bit integer needs handling for G_SEXT/G_ZEXT. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D139174
-