- Aug 03, 2020
-
-
Raphael Isemann authored
Some build configurations don't use this static function.
-
Frederik Gossen authored
Differential Revision: https://reviews.llvm.org/D85027
-
Xing GUO authored
The value of `is64Bit` is initialized in the constructor body.
-
Shinji Okumura authored
This patch makes it possible to handle nonnull attribute violation at callsites in AAUndefinedBehavior. If null pointer is passed to callee at a callsite and the corresponding argument of callee has nonnull attribute, the behavior of the callee is undefined. In this patch, violations of argument nonnull attributes is only handled. But violations of returned nonnull attributes can be handled and I will implement that in a follow-up patch. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D84733
-
Igor Kudrin authored
The patch restricts DIEDelta::SizeOf() to accept only DWARF forms that are actually used in the LLVM codebase. This should make the use of the class more explicit and help to avoid issues similar to fixed in D83958 and D84094. Differential Revision: https://reviews.llvm.org/D84095
-
Igor Kudrin authored
DIELabel can emit only 32- or 64-bit values, while it was created in some places with DW_FORM_udata, which implies emitting uleb128. Nevertheless, these places also expected to emit U32 or U64, but just used a misleading DWARF form. The patch updates those places to use more appropriate DWARF forms and restricts DIELabel::SizeOf() to accept only forms that are actually used in the LLVM codebase. Differential Revision: https://reviews.llvm.org/D84094
-
Igor Kudrin authored
DebugLocListIndex keeps the index of an entry list, not the offset. Differential Revision: https://reviews.llvm.org/D84093
-
Igor Kudrin authored
DIELocList is used with a limited number of DWARF forms, see the only place where it is instantiated, DwarfCompileUnit::addLocationList(). The patch marks the unexpected execution path in DIELocList::SizeOf() as unreachable, to reduce ambiguity. Differential Revision: https://reviews.llvm.org/D84092
-
Daniel Kiss authored
Before this patch the `ninja check-unwind` won't rebuild the unwind library. Reviewed By: jroelofs Differential Revision: https://reviews.llvm.org/D85004
-
Djordje Todorovic authored
This patch adds documentation for the RegState enumeration. Differential Revision: https://reviews.llvm.org/D84634
-
George Mitenkov authored
This patch handles loopControl and selectionControl in parsing and printing. In order to reuse the functionality, and avoid handling cases when `{` of the region is parsed as a dictionary attribute, `control` keyword was introduced.`None` is a default control attribute. This functionality can be later extended to `spv.func`. Also, loopControl and selectionControl can now be (de)serialized. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D84175 -
Fangrui Song authored
This makes clang default to -Wa,-mrelax-relocations=yes, which enables R_386_GOT32X (GNU as enables it regardless of -mrelax-relocations=) and R_X86_64_[REX_]GOTPCRELX in MC. The produced object files require GNU ld>=2.26 to link. binutils 2.26 is considered a very old release today.
-
LLVM GN Syncbot authored
-
Saiyedul Islam authored
Provides AMDGCN and NVPTX specific specialization of getGPUWarpSize, getGPUThreadID, and getGPUNumThreads methods. Adds tests for AMDGCN codegen for these methods in generic and simd modes. Also changes the precondition in InitTempAlloca to be slightly more permissive. Useful for AMDGCN OpenMP codegen where allocas are created with a cast to an address space. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D84260
-
Fangrui Song authored
-
compinder authored
[FLANG] Fix issues in SELECT TYPE construct when intrinsic type specification is specified in TYPE GUARD statement. Fix of PR46789 and PR46830. Differential Revision: https://reviews.llvm.org/D84290
-
QingShan Zhang authored
This is a refactor patch to prepare for adding the support for strict-fsetcc in PowerPC backend. We want to move their definition into a uniform way so that, we could add the strict node easier. Reviewed By: shchenz Differential Revision: https://reviews.llvm.org/D81712
-
StephenFan authored
Differential revision: https://reviews.llvm.org/D85002
-
Fangrui Song authored
This drops a GNU gold workaround and reverts the revert commit rL366708. Before binutils 2.34, gold -O2 and above did not correctly handle R_386_GOTOFF to SHF_MERGE|SHF_STRINGS sections: https://sourceware.org/bugzilla/show_bug.cgi?id=16794 From the original review: ... it reduced the size of a big ARM-32 debug image by 33%. It contained ~68M of relocations symbols out of total ~71M symbols (96% of symbols table was generated for relocations with symbol). -Wl,-O2 (and -Wl,-O3) is so rare that we should just lower the optimization level for LLVM_LINKER_IS_GOLD rather than pessimizing all users.
-
Florian Hahn authored
IPConstantPropagation has been removed, also remove the bindings.
-
Florian Hahn authored
This reverts commit 59d6e814. The cause for the revert (3 clang tests running opt -ipconstprop) was fixed by removing those lines.
-
Vitaly Buka authored
Result should be the same but it makes generateParamAccessSummary 5x faster.
-
Florian Hahn authored
ipconstprop is going to get removed and checking opt with specific passes makes the tests more fragile. The tests retain the important checks that !callback metadata is created correctly.
-
Jan Kratochvil authored
I have made the DW_FORM_ref4 relative. One could also use relocated DW_FORM_ref_addr instead. Tested with: echo 'void f(){}'|clang -o 1.o -c -Wall -g -x c -;./bin/clang -o 1 1.o ../llvm-monorepo/lldb/test/Shell/SymbolFile/DWARF/DW_TAG_GNU_call_site-DW_AT_low_pc.s;./bin/lldb --no-lldbinit ./1 -o r -o 'p p' -o exit -
Craig Topper authored
[X86] Use parity flag from byte test/cmp instruction for __builtin_parity when input fits in 8 bits. If the upper bits of the __builtin_parity idiom are known to be 0 we were previously emitting an xor with 0 to get the parity flag. But we can use cmp/test instead which may expose opportunities for load folding or combining an AND.
-
Craig Topper authored
[X86] Add test cases for missed opportunity to use a byte test instruction instead of an xor with 0 in parity patterns. If the input to the ctpop fits in 8 bits, we can use the parity flag from a TEST instruction, but we're currently XORing with 0.
-
Simon Pilgrim authored
Noticed while updating D77804
-
Mehdi Amini authored
-
- Aug 02, 2020
-
-
Simon Pilgrim authored
As discussed on D81500, this adds a more general ElementCount variant of the build helper and converts the (non-scalable) unsigned NumElts variant to use it internally.
-
-
Sanjay Patel authored
-
Matt Arsenault authored
For AMDGPU, vectors with elements < 32 bits should be indexed in 32-bit elements and the desired bits extracted from there. For elements > 64-bits, these should be reduce to 64/32 elements to enable the normal dynamic indexing paths. In the dynamic index cases, this produces shorter code most of the time. This does immediately regress the constant index cases, but this should be fixed once we have the most basic of shift combines. The element size > 64 case is pretty much ported from the exisiting DAG implementation for extract element promote. The increasing element size case is new.
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Try to be more consistent with the SDLoc param in the TargetLowering methods. This also exposes an issue where we were passing a SDNode as a SDLoc, relying on the implicit SDLoc(SDNode) constructor.
-
Simon Pilgrim authored
Try to be more consistent with the SDLoc param in the TargetLowering methods.
-
Simon Pilgrim authored
-
Shinji Okumura authored
The commit cause build failure.
-
Nikita Popov authored
For folds where we check for the binop on both the LHS and RHS, extract a function that expects it on the LHS and call it with swapped order.
-
Xing GUO authored
-