- Apr 13, 2021
-
-
Alexey Bader authored
-
Pavel Labath authored
In all this time, we've never used more than one delegate. The logic to support multiple delegates is therefore untested, and becomes particularly unwieldy once we need to support multiple processes. Just remove it.
-
KareemErgawy-TomTom authored
This patch introduces the neccessary infrastructure changes to implement cost-modelling for detensoring. In particular, it introduces the following changes: - An extension to the dialect conversion framework to selectively convert sub-set of non-entry BB arguments. - An extension to branch conversion pattern to selectively convert sub-set of a branche's operands. - An interface for detensoring cost-modelling. - 2 simple implementations of 2 different cost models. This sets the stage to explose cost-modelling for detessoring in an easier way. We still need to come up with better cost models. Reviewed By: silvas Differential Revision: https://reviews.llvm.org/D99945
-
Thomas Lively authored
This test was disabled despite the instruction having been implemented for a long time. This commit just enables the test. Differential Revision: https://reviews.llvm.org/D100345
-
Craig Topper authored
[RISCV] Rename RISCVISD::SHFLI to RISCVISD::SHFL and don't require the second operand to be an immediate. Prep work for adding intrinsics in the future. Left an assert that the input is constant in ReplaceNodeResults, as the intrinsic shouldn't go through that path.
-
Freddy Ye authored
This copy error will cause a failed builder on sanitizer-x86_64-linux
-
Christopher Di Bella authored
One suggestion was missed and is being patched now.
-
Christopher Di Bella authored
Implements parts of: - P0896R4 The One Ranges Proposal Depends on D99041 Differential Revision: https://reviews.llvm.org/D99141 -
Jonas Devlieghere authored
Remap the external file to the one embedded in the reproducer.
-
Serguei Katkov authored
Reviewers: reames, MatzeB, anemet, thegameg Reviewed By: thegameg Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D100168
-
Chen Zheng authored
We should consider the feeder user number when we do reverse memory operation transformation. Otherwise, we may get negative impact. Reviewed By: nemanjai Differential Revision: https://reviews.llvm.org/D100166
-
Evgeniy Brevnov authored
efficient.
-
Eugene Zhulenev authored
Depends On D95311 Previous automatic-ref-counting pass worked with high level async operations (e.g. async.execute), however async values reference counting is a runtime implementation detail. New pass mostly relies on the save liveness analysis to place drop_ref operations, and does better verification of CFG with different liveIn sets in block successors. This is almost NFC change. No new reference counting ideas, just a cleanup of the previous version. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D95390
-
Freddy Ye authored
Reviewed By: skan, craig.topper, MaskRay Differential Revision: https://reviews.llvm.org/D100085
-
Geoffrey Martin-Noble authored
This is similar to the definition of llvm.switch, providing unstructured branch-based control flow. It differs from the LLVM operation in that it accepts any signless integer (not only an i32), takes no branch weights (the same as the Branch and CondBranch ops), and has a slightly different syntax for the default case that includes it in the list of cases with an explicit `default` keyword. Also included are several canonicalizers. See https://llvm.discourse.group/t/rfc-add-std-switch-and-scf-switch/3090 Reviewed By: rriddle, bondhugula Differential Revision: https://reviews.llvm.org/D99925
-
LLVM GN Syncbot authored
-
Jonas Devlieghere authored
-
Gulfem Savrun Yeniceri authored
Lookup tables generate non PIC-friendly code, which requires dynamic relocation as described in: https://bugs.llvm.org/show_bug.cgi?id=45244 This patch adds a new pass that converts lookup tables to relative lookup tables to make them PIC-friendly. Differential Revision: https://reviews.llvm.org/D94355
-
Emilio Cota authored
Since c42c67ad ('Re-apply "[lli] Make -jit-kind=orc the default JIT engine"'), ORC is the default JIT. Unfortunately, ORC seems to ignore the --entry-function flag, which breaks all tests that use the flag, namely the AMX and X86Vector integration tests. This has been reported in PR#49906 (https://bugs.llvm.org/show_bug.cgi?id=49906). Work around this by explicitly selecting MCJIT. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D100344
-
Ahmed Bougacha authored
This reverts commit 3842de49. It fails to build, with errors such as: GDBRemoteCommunicationClient.cpp:1005:20: error: no viable overloaded '=' avail_name = compression;
-
Nick Desaulniers authored
Jump threading can replace select then unconditional branch with conditional branch, but when doing so loses debug info. This destructive transform is eventually leading to a failed Verifier run during full LTO builds of the Linux kernel with CFI and KCOV enabled, as reported in PR39531. ModuleSanitizerCoveragePass will insert calls to __sanitizer_cov_trace_pc, and sometimes split critical edges, using whatever debug info may or may not exist for the branch for the added libcall. Since we can inline calls to __sanitizer_cov_trace_pc due to LTO, this can lead to the error observed in PR39531 when the debug info isn't propagated to the libcall, because of prior destructive transforms that failed to retain debug info. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D100137
-
Pirama Arumuga Nainar authored
D100143 added similar annotations but missed this file. Differential Revision: https://reviews.llvm.org/D100354
-
Arthur Eubanks authored
Turning on -fstrict-vtable-pointers in Chrome caused an extra global initializer. Turns out that a llvm.strip.invariant.group intrinsic was causing GlobalOpt to fail to step through some simple code. We can treat *.invariant.group uses as simply their operand. Value::stripPointerCastsForAliasAnalysis() does exactly this. This should be safe because the Evaluator does not skip memory accesses due to invariants or alias analysis. However, we don't want to leak that we've stripped arbitrary pointer casts to users of Evaluator, so we bail out if we evaluate a function to any constant, since we may have looked through *.invariant.group calls and aliasing pointers cannot be arbitrarily substituted. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D98843
-
Nick Desaulniers authored
Instruction::getDebugLoc can return an invalid DebugLoc. For such cases where metadata was accidentally removed from the libcall insertion point, simply insert a DILocation with line 0 scoped to the caller. When we can inline the libcall, such as during LTO, then we won't fail a Verifier check that all calls to functions with debug metadata themselves must have debug metadata. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D100158
-
Nathan James authored
This is the only remaining check that creates `std::move` includes but doesn't add a `<utility>` include. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D97683
-
Michał Górny authored
Refactor the qSupported handler to split the reply into an array, and identify features within the array rather than searching the string for partial matches. While at it, use StringRef.split() to process the compression list instead of reinventing the wheel. Switch the arguments to MaybeEnableCompression() to use an ArrayRef of StringRefs to simplify parameter passing from GetRemoteQSupported(). Differential Revision: https://reviews.llvm.org/D100146
-
Yuanfang Chen authored
Reland "Revert "[InstCombine] when calling conventions are compatible, don't convert the call to undef idiom"" This reverts commit a3fabc79 (relands f4d682d6 with fix for the compile-time regression issue).
-
Sterling Augustine authored
This reverts commit 63bc9e44. This breaks llvm-project/clang-tools-extra/clangd/tool/ClangdMain.cpp:570:11: with error: enumeration value 'None' not handled in switch [-Werror,-Wswitch]
-
Florian Hahn authored
-
Florian Hahn authored
-
Fangrui Song authored
-
Lei Zhang authored
The stride should be calculated with the converted array element type, not the original input type. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D100337
-
Jian Cai authored
Build log: https://lab.llvm.org/buildbot/#/builders/37/builds/3538 Differential Revision: https://reviews.llvm.org/D98916
-
Lei Zhang authored
Runtime arrays are converted from memrefs with unknown dimensions. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D100335
-
Nikita Popov authored
Revert "[InstCombine] when calling conventions are compatible, don't convert the call to undef idiom" This reverts commit f4d682d6. This caused a significant compile-time regression: https://llvm-compile-time-tracker.com/compare.php?from=4b7bad9eaea2233521a94f6b096aaa88dc584e23&to=f4d682d6ce6c5b3a41a0acf297507c82f5c21eef&stat=instructions Possibly this is due to overeager parsing of target triples.
-
Lei Zhang authored
These patterns have been used as a prerequisite step for lowering to SPIR-V. But they don't involve SPIR-V dialect ops; they are pure memref/vector op transformations. Given now we have a dedicated MemRef dialect, moving them to Memref/Transforms/, which is a more suitable place to host them, to allow used by others. This commit just moves code around and renames patterns/passes accordingly. CMakeLists.txt for existing MemRef libraries are also improved along the way. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D100326
-
Julian Lettner authored
Allow test contents to be copied before execution by using `%ld_flags_rpath_so`, `%ld_flags_rpath_exe`, and `%dynamiclib` substitutions. rdar://76302416 Differential Revision: https://reviews.llvm.org/D100240
-
Sanjay Patel authored
https://alive2.llvm.org/ce/z/6vQvrP This solves: https://llvm.org/PR49866
-
Sanjay Patel authored
-