Commit
905b9ca26c94fa86339451a528cedde5004fc1bb
by richardCanonicalize declaration pointers when forming APValues.
References to different declarations of the same entity aren't different values, so shouldn't have different representations.
Recommit of e6393ee813178e9d3306b8e3c6949a4f32f8a2cb with fixed handling for weak declarations. We now look for attributes on the most recent declaration when determining whether a declaration is weak.
|
 | clang/lib/AST/Decl.cpp |
 | clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p9.cpp |
 | clang/lib/AST/DeclBase.cpp |
 | clang/lib/AST/ExprConstant.cpp |
 | clang/include/clang/AST/APValue.h |
 | clang/lib/AST/APValue.cpp |
 | clang/test/OpenMP/ordered_messages.cpp |
Commit
7337f296194483e0959ff980049e2835e226f396
by richardPR47555: Inheriting constructors are implicitly definable.
Don't forget to define them if they're constexpr and used inside a template; we might try to evaluate a call to them before the template is instantiated.
|
 | clang/test/SemaCXX/cxx11-inheriting-ctors.cpp |
 | clang/lib/Sema/SemaExpr.cpp |
Commit
f4ea0f98142a97666cd0478757570e819923a829
by aeubanks[NewPM] Port -print-alias-sets to NPM
Really it should be named print<alias-sets>, but for the sake of changing fewer tests, added a TODO to rename after NPM switch and test cleanup.
Reviewed By: ychen
Differential Revision: https://reviews.llvm.org/D87713
|
 | llvm/include/llvm/Analysis/AliasSetTracker.h |
 | llvm/test/Analysis/AliasSet/guards.ll |
 | llvm/lib/Passes/PassBuilder.cpp |
 | llvm/lib/Analysis/AliasSetTracker.cpp |
 | llvm/lib/Passes/PassRegistry.def |
Commit
b04c1a9d3127730c05e8a22a0e931a12a39528df
by andrew_litteken[IRSim] Adding IR Instruction Mapper
This introduces the IRInstructionMapper, and the associated wrapper for instructions, IRInstructionData, that maps IR level Instructions to unsigned integers.
Mapping is done mainly by using the "isSameOperationAs" comparison between two instructions. If they return true, the opcode, result type, and operand types of the instruction are used to hash the instruction with an unsigned integer. The mapper accepts instruction ranges, and adds each resulting integer to a list, and each wrapped instruction to a separate list.
At present, branches, phi nodes are not mapping and exception handling is illegal. Debug instructions are not considered.
The different mapping schemes are tested in unittests/Analysis/IRSimilarityIdentifierTest.cpp
Differential Revision: https://reviews.llvm.org/D86968
|
 | llvm/lib/Analysis/IRSimilarityIdentifier.cpp |
 | llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp |
 | llvm/include/llvm/Analysis/IRSimilarityIdentifier.h |
 | llvm/unittests/Analysis/CMakeLists.txt |
 | llvm/lib/Analysis/CMakeLists.txt |
Commit
b76f523be6ea606d9cf494e247546cec1cd7f209
by zhanghb97[mlir] expose affine map to C API
This patch provides C API for MLIR affine map. - Implement C API for AffineMap class. - Add Utils.h to include/mlir/CAPI/, and move the definition of the CallbackOstream to Utils.h to make sure mlirAffineMapPrint work correct. - Add TODO for exposing the C API related to AffineExpr and mutable affine map.
Differential Revision: https://reviews.llvm.org/D87617
|
 | mlir/include/mlir-c/AffineMap.h |
 | mlir/include/mlir/CAPI/Utils.h |
 | mlir/lib/CAPI/IR/IR.cpp |
 | mlir/test/CAPI/ir.c |
 | mlir/lib/CAPI/IR/AffineMap.cpp |
Commit
436a43afb2cf85ae6e61b4c1ac09e944a6566646
by llvmgnsyncbot[gn build] Port b04c1a9d312
|
 | llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn |
 | llvm/utils/gn/secondary/llvm/unittests/Analysis/BUILD.gn |
Commit
fb1abe00635c1ec28e55921709904d5ca2e86a74
by rprichard[libunwind][DWARF] Fix end of .eh_frame calculation
* When .eh_frame is located using .eh_frame_hdr (PT_GNU_EH_FRAME), the start of .eh_frame is known, but not the size. In this case, the unwinder must rely on a terminator present at the end of .eh_frame. Set dwarf_section_length to UINTPTR_MAX to indicate this.
* Add a new field, text_segment_length, that the FrameHeaderCache uses to track the size of the PT_LOAD segment indicated by dso_base.
* Compute ehSectionEnd by adding sectionLength to ehSectionStart, never to fdeHint.
Fixes PR46829.
Differential Revision: https://reviews.llvm.org/D87750
|
 | libunwind/src/UnwindCursor.hpp |
 | libunwind/test/frameheadercache_test.pass.cpp |
 | libunwind/src/FrameHeaderCache.hpp |
 | libunwind/src/AddressSpace.hpp |
 | libunwind/src/DwarfParser.hpp |
Commit
5782ab0f52db1b1914d8ee5fe3828b0a5de9d685
by czhengsz[MachineSink] add one more mir case - nfc
|
 | llvm/test/CodeGen/PowerPC/sink-down-more-instructions-1.mir |
Commit
ebfbdebe9678f4a42ec35396eb517eefd85d2b4c
by qiucofan[PowerPC] Fix store-fptoi combine of f128 on Power8
llc would crash for (store (fptosi-f128-i32)) when -mcpu=pwr8, we should not generate FP_TO_(S|U)INT_IN_VSR for f128 types at this time. This patch fixes it.
Reviewed By: steven.zhang
Differential Revision: https://reviews.llvm.org/D86686
|
 | llvm/test/CodeGen/PowerPC/store_fptoi.ll |
 | llvm/lib/Target/PowerPC/PPCISelLowering.cpp |