- Sep 02, 2022
-
-
luxufan authored
For noop store of the form of LoadI and StoreI, An invariant should be kept is that the memory state of the related MemoryLoc before LoadI is the same as before StoreI. For this example: ``` define void @pr49927(i32* %q, i32* %p) { %v = load i32, i32* %p, align 4 store i32 %v, i32* %q, align 4 store i32 %v, i32* %p, align 4 ret void } ``` Here the definition of the store's destination is different with the definition of the load's destination, which it seems that the invariant mentioned above is broken. But the definition of the store's destination would write a value that is LoadI, actually, the invariant is still kept. So we can safely ignore it. Differential Revision: https://reviews.llvm.org/D132657 -
Lang Hames authored
Removes the stray '$' that slipped in to c1c585a0.
-
Lang Hames authored
Commit 4adc5bea moved a dependence on llvm-jitlink from SANITIZER_COMMON_LIT_TEST_DEPS to ORC_TEST_DEPS, but in doing so it moved it out from under a 'NOT COMPILER_RT_STANDALONE_BUILD ...' conditional. This led to failures on standalone builds. This commit adds the conditional to the ORC_TEST_DEPS assignment to work around the issue while we look a longer term fix. rdar://99453446
-
Aart Bik authored
Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D133171
-
Craig Topper authored
Use "SDNode" in the name is the convention for the VLMax patterns in RISCVInstrInfoVSDPatterns.td. This files use "VL".
-
Kazu Hirata authored
This patch fixes: lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.h:51:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
-
Aart Bik authored
Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D133176
-
Fangrui Song authored
-
Antonio Frighetto authored
x86 assembly syntax emission now leverages markup tags, if enabled. Differential Revision: https://reviews.llvm.org/D129869
-
Antonio Frighetto authored
AArch64 assembly syntax emission now leverages markup tags for immediates, if enabled. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D129871
-
Lang Hames authored
Saves wrap/unwrap implementers from having to use std::remove_pointer_t to get at the pointed-to type.
-
Antonio Frighetto authored
MIPS assembly syntax emission now leverages markup tags, if enabled. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D129867
-
Chenbing Zheng authored
-
Vitaly Buka authored
When we want to add instrumentation after an instruction, instrumentation still should keep debug info of the instruction. Reviewed By: kda, kstoimenov Differential Revision: https://reviews.llvm.org/D133091
-
Chenbing Zheng authored
When we do extractvalue (any_mul_with_overflow X, -1) --> (-X and icmp), which left partly failed to match vector constant with poison element. This patch try to fix it. Alive2: https://alive2.llvm.org/ce/z/2rGp_3 Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D132996
-
Vitaly Buka authored
Saves 1.8% of .text size on CTMark Reviewed By: kda Differential Revision: https://reviews.llvm.org/D133077
-
Emmmer authored
Add: - most of instructions from RVI base instructions set. - some instruction decode tests from objdump. Further work: - implement riscv imac extension. Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D132789
-
Chenbing Zheng authored
-
Vitaly Buka authored
-
Katherine Rasmussen authored
Add the coarray intrinsic functions, lcobound and ucobound, to the list of intrinsics. For both of these functions, add a check to ensure that if the optional dim argument is present and statically checkable, its value is in the inclusive range of 1 and the corank of the coarray argument. In the semantics tests for lcobound and ucobound, remove the XFAIL directive, add the ERROR directives and add additional standard-conforming and non-standard conforming calls. Reviewed By: klausler, craig.rasmussen Differential Revision: https://reviews.llvm.org/D126721
-
Adrian Prantl authored
arm64e platforms. On arm64e-capable Apple platforms, the system libraries are always arm64e, but applications often are arm64. When a target is created from file, LLDB recognizes it as an arm64 target, but debugserver will still (technically correct) report the process as being arm64e. For consistency, set the target to arm64 here. rdar://92248684 Differential Revision: https://reviews.llvm.org/D133069
-
Aart Bik authored
Demonstrates how sparse tensor type -> tuple -> getter will eventually yield actual code on the memrefs directly Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D133143
-
Artem Belevich authored
-fsyntax-only breaks down CUDA compilation pipeline and make it look like multiple independent subcompilations and that trips the multiple arguments check when -o is specified. We do want to allow -fsyntax-only to be used with otherwise unmodified clang options as it's commonly used by various tooling. Differential Revision: https://reviews.llvm.org/D133133
-
Peiming Liu authored
This patch adds SparseTensorStorageExpansion pass, it flattens the tuple used to store a sparse tensor handle. Right now, it only set up the skeleton for the pass, more lowering rules for sparse tensor storage operation need to be added. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D133125
-
Slava Zakharin authored
Instead of using the IV block argument of the do-loop we will use the do-variable value loaded from its location. This usage is consistent with other uses of the do-variable inside the loop. Differential Revision: https://reviews.llvm.org/D133140
-
Alex Brachet authored
Previously if you specified no_sanitize("known_sanitizer") on a global you would yield a misleading error "'no_sanitize' attribute only applies to functions and methods", but no_sanitize("unknown") would simply be a warning, "unknown sanitizer 'unknown' ignored". This changes the former to a warning "'no_sanitize' attribute argument not supported for globals: known_sanitizer". Differential Revision: https://reviews.llvm.org/D133117 -
Arthur Eubanks authored
Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D133036
-
Rob Suderman authored
Added numerical splat folders for comparison operations and equal of two identical int values. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D133138
-
Tue Ly authored
Update the utility functions for checking exceptional values of math functions to use cpp::optional return values. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D133134
-
Rong Xu authored
We currently instrument CallBrInst but do not annotate it with the branch weight. This patch enables PGO annotation of CallBrInst. Differential Revision: https://reviews.llvm.org/D133040
-
Arpad Borsos authored
At least `ntdll` is using the undocumented version 2 unwind info, and opcode 6, which is already defined as `UOP_Epilog`. Using `llvm-objdump --unwind` with `ntdll` would previously result in unreachable assertions because this code was missing from `getNumUsedSlots` and `getUnwindCodeTypeName`. The slots of these codes comes from https://github.com/dotnet/runtime/blob/57bfe474518ab5b7cfe6bf7424a79ce3af9d6657/src/coreclr/inc/win64unwind.h#L51-L52 which I would assume is a good authoritative source. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D107655
-
Kevin Athey authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D117622
-
Vitaly Buka authored
Reduces .text size by 1% on our large binary. On CTMark (-O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -fsanitize-memory-param-retval) Size -0.4% Time -0.8% Reviewed By: kda Differential Revision: https://reviews.llvm.org/D133071
-
Aleksandr Platonov authored
clangd code fixes at D122983 were not right. We need to check that clangd provides IncludeFixer fixits for implicit function declaration even if this is not an error (e.g. implicit function declaration in C89). Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D133043
-
Lang Hames authored
The ELF/x86-64 backend uses the generic x86_64 edges now, so the ELFX86RelocationKind is just an implementation detail.
-
Sanjay Patel authored
issue #57472
-
Zequan Wu authored
llvm::codeview::visitMemberRecordStream in CompleteTagDecl will call GetOrCreateType create type if not seen before, which inserts new entries into m_decl_to_status. This may invalidates status which is a reference to std::pair::second from DenseMapIterator.
-
Vitaly Buka authored
It's a preparation of to combine shadow checks of the same instruction Reviewed By: kda, kstoimenov Differential Revision: https://reviews.llvm.org/D133065
-
Valentin Clement authored
This reverts commit 6ab6f23b.
-
Simon Pilgrim authored
This is a C++ header after all.
-