- Oct 31, 2019
-
-
Reid Kleckner authored
off_t apparently is just "long" on Win64, which is 32-bits, and therefore not long enough to compare with UINT32_MAX. Use auto to follow the surrounding code. uint64_t would also be fine.
-
Michael Spencer authored
This reverts commit d8a4ef0e. This commit broke some of the bots. I believe it's due to nondeterminism. Will fix and recommit.
-
Julian Lettner authored
-
Julian Lettner authored
-
Julian Lettner authored
-
Craig Topper authored
This patch adds MXCSR as a reserved physical register and models its use by X86 SSE instructions. It also adds flag "mayRaiseFPException" for the instructions that possibly can raise FP exception according to the architecture definition. Following what SystemZ and other targets does, only the current rounding modes and the IEEE exception masks are modeled. *Changes* of the MXCSR due to exceptions are not modeled. Patch by Pengfei Wang Differential Revision: https://reviews.llvm.org/D68121
-
Reid Kleckner authored
When throwing objects with deleted copy constructors, the copy ctor field of the catchable type should remain null and the mangle name changes. This already worked in simple cases, but in cases involving non-trivial subobjects, sometimes LookupCopyingConstructor could return a non-null but deleted constructor decl. Skip those and don't reference them. Fixes PR43680
-
Matt Arsenault authored
readlane and writelane instructions are not allowed to use m0 as the data operand, so spilling them is tricky and would require an intermediate SGPR to spill it. Constrain the virtual register class in this caes to disallow the inline spiller from folding the m0 operand directly into the spill instruction. I copied this hack from AArch64 which has the same problem for $sp.
-
Daniel Sanders authored
In lieu of converting that tutorial to text, add a link to the porting tutorial from the 2017 Dev Meeting to the porting page
-
Michael Spencer authored
This adds experimental support for extracting a Clang module dependency graph from a compilation database. The output format is experimental and will change. It is currently a concatenation of JSON outputs for each compilation. Future patches will change this to deduplicate modules between compilations. Differential Revision: https://reviews.llvm.org/D69420
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Craig Topper authored
[X86] Rewrite hasReassociableOperands and setSpecialOperandAttr to not hardcode number of operands or position of the EFLAGS operand. This makes the code immune to the MXCSR addition in D68121.
-
Craig Topper authored
-
Alina Sbirlea authored
-
Vladimir Plyashkun authored
-
Daniel authored
-
Daniel Sanders authored
The legalizer page was in a fairly good state. I've mostly just inlined some information as a note and removed a reference to potential future work that I think is very unlikely to be done (it's very hard to tell if a pattern or set of patterns fully covers a node due to C++ predicates). Also added a note that 'selectable' doesn't mean that InstructionSelect must do it.
-
Richard Smith authored
non-constant. We previously failed the entire condition evaluation if an unmodeled side-effect was encountered in an argument, even if that argument was unused in the attribute's condition.
-
LLVM GN Syncbot authored
-
Lang Hames authored
These tests were written before llvm-jitlink supported regression testing of relocation support. They are now redundant.
-
Lang Hames authored
This should fix the failures on some bots due to commit b9d8e23b.
-
Evandro Menezes authored
-
LLVM GN Syncbot authored
-
Lang Hames authored
LinkGraph::splitBlock will split a block at a given index, returning a new block covering the range [ 0, index ) and modifying the original block to cover the range [ index, original-block-size ). Block addresses, content, edges and symbols will be updated as necessary. This utility will be used in upcoming improvements to JITLink's eh-frame support.
-
Saleem Abdulrasool authored
When building standalone, `LLVM_DEFAULT_TARGET_TRIPLE` may be undefined. Matching against an empty string does not work as desired in CMake, so, fallback to the old behaviour, defaulting `LLDB_DEBUGSERVER_ARCH` to `CMAKE_OSX_ARCHITECTURES`.
-
Daniel Sanders authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Evandro Menezes authored
The scheduling definitions for ASIMD transpose and zipping overlapped with others a few lines below. Somehow, they didn't raise errors before. There seem to be other overlapping definitions. Somehow, they still don't raise errors. Differential revision: https://reviews.llvm.org/D68353
-
David Tenty authored
This reverts commit 11c2a85d.
-
Daniel Sanders authored
-
jasonliu authored
Adds support for generating the XCOFF data section in object files for global variables with initialization. Merged aix-xcoff-common.ll into aix-xcoff-data.ll. Changed variable name charr to chrarray in the test case to test if readobj works with 8-character names. Authored by: xingxue Reviewers: hubert.reinterptrtcast, sfertile, jasonliu, daltenty, Xiangling_L. Reviewed by: hubert.reinterpretcast, sfertile, daltenty. Subscribers: DiggerLin, Wuzish, nemanjai, hiraditya, MaskRay, jsji, shchenz, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67125
-
Jeremy Morse authored
From SelectionDAGs point of view, debug variable locations specified with dbg.declare and dbg.addr are indirect -- they specify the address of something. But calling conventions might mean that a Value is placed on the stack somewhere, and this too is indirection. Previously this was mixed up in the "IsIndirect" field of DBG_VALUE insts; this patch separates them by encoding the indirection in a DIExpression. If we have a dbg.declare or dbg.addr, then the expression produces an address that then becomes a DWARF memory location. We can represent this by putting a DW_OP_deref on the _end_ of the expression. If a Value has been placed on the stack, then we need to put a DW_OP_deref on the _start_ of the expression, to load the Value from the stack and have the rest of the expression operate on it. Differential Revision: https://reviews.llvm.org/D69028
-
Alina Sbirlea authored
Summary: Delete the BasicBlockPass and BasicBlockManager, all its dependencies and update documentation. The BasicBlockManager was improperly tested and found to be potentially broken, and was deprecated as of rL373254. In light of the switch to the new pass manager coming before the next release, this patch is a first cleanup of the LegacyPassManager. Reviewers: chandlerc, echristo Subscribers: mehdi_amini, sanjoy.google, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69121
-
Simon Pilgrim authored
[X86] Add FIXME comment to merge more of computeZeroableShuffleElements and getTargetShuffleAndZeroables
-
Simon Pilgrim authored
-
Matt Morehouse authored
Summary: The flag allows the user to specify a maximum allocation size that the sanitizers will honor. Any larger allocations will return nullptr or crash depending on allocator_may_return_null. Reviewers: kcc, eugenis Reviewed By: kcc, eugenis Subscribers: #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D69576
-
Daniel authored
Do not provide a fix-it when clang-tidy encounters a name that would become a keyword.
-
Sanjay Patel authored
-