- May 22, 2020
-
-
Zequan Wu authored
Differential Revision: https://reviews.llvm.org/D79121
-
Jonas Devlieghere authored
This skips all the lldb-vscode tests when running the test suite with reproducers.
-
LLVM GN Syncbot authored
-
Jan Korous authored
This reverts commit 1108f5c7.
-
Adrian Prantl authored
-
Vedant Kumar authored
Summary: Replace any extant metadata uses of a dying instruction with undef to preserve debug info accuracy. Some alternatives include: - Treat Instruction like any other Value, and point its extant metadata uses to an empty ValueAsMetadata node. This makes extant dbg.value uses trivially dead (i.e. fair game for deletion in many passes), leading to stale dbg.values being in effect for too long. - Call salvageDebugInfoOrMarkUndef. Not needed to make instruction removal correct. OTOH results in wasted work in some common cases (e.g. when all instructions in a BasicBlock are deleted). This came up while discussing some basic cases in https://reviews.llvm.org/D80052. Reviewers: jmorse, TWeaver, aprantl, dexonsmith, jdoerfert Subscribers: jholewinski, qcolombet, hiraditya, jfb, sstefan1, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80264
-
Alexey Lapshin authored
Summary: This patch fixes a problem when pmull2 instruction is not generated for vmull_high_p64 intrinsic. ISel has a pattern for int_aarch64_neon_pmull64 intrinsic to generate PMULL2 instruction. That pattern assumes that extraction operations are located in the same basic block. We need to sink them if they are not. Handle operands of int_aarch64_neon_pmull64 into AArch64TargetLowering::shouldSinkOperands. Reviewed by: efriedma Differential Revision: https://reviews.llvm.org/D80320
-
Zequan Wu authored
-
Craig Topper authored
Differential Revision: https://reviews.llvm.org/D80363
-
Arthur Eubanks authored
Summary: Likely fixes https://bugs.llvm.org/show_bug.cgi?id=45858. Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80047
-
Jinsong Ji authored
Buildbot has been failing since http://lab.llvm.org:8011/builders/llvm-sphinx-docs/builds/44711 This patch fix the minor issues that cause warnings.
-
Ben Dunbobbin authored
PS4 supports these relocations types; so, we want to enable them by default. Differential Revision: https://reviews.llvm.org/D79980
-
Dominic Chen authored
Summary: With complex IR, the difference engine can enter an inconsistent state where the instruction and block difference engines return different results. Prevent a crash by refusing to pop beyond the end of the vector. Reviewers: rjmccall Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80351
-
Stephen Kelly authored
Reviewers: aaron.ballman Subscribers: baloghadamsoftware, a.sidorin, Szelethus, donat.nagy, dkrupp, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D72532
-
Stephen Kelly authored
Reviewers: aaron.ballman, shafik Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D72531
-
Stephen Kelly authored
Reviewers: aaron.ballman Subscribers: nemanjai, kbarton, arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D72530
-
Tim Renouf authored
This only affects assembly and -filetype=asm codegen of PAL metadata. Differential Revision: https://reviews.llvm.org/D78860 Change-Id: I7b822e1917bf7b403486820d31afc483be207652
-
Tim Renouf authored
This commit increases the convenience of using the MsgPackDocument API, especially when creating a document for writing out. It adds direct assignment of bool, integer and string types to a DocNode, as long as that DocNode is already inside a document, e.g. the result of a map lookup. It also adds map lookup given an integer type (it already had that for string). So, to assign a string to a map element whose key is an int, you can now write MyMap[42] = "towel"; instead of MyMap[MyMap.getDocument()->getNode(42)] = MyMap.getDocument()->getNode("towel"); Also added MapDocNode::erase methods. Differential Revision: https://reviews.llvm.org/D80121 Change-Id: I17301fa15bb9802231c52542798af5b54beb583e -
Jean-Michel Gorius authored
Summary: To support all targets, the mayAlias member function needs to support instructions with multiple operands. This revision also changes the order of the emitted instructions in some test cases. Reviewers: efriedma, hfinkel, craig.topper, dmgreen Reviewed By: efriedma Subscribers: MatzeB, dmgreen, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80161
-
Stanislav Mekhanoshin authored
Promote alloca to vector before SROA and loop unroll. If we manage to eliminate allocas before unroll we may choose to unroll less. Differential Revision: https://reviews.llvm.org/D80386
-
Sean Silva authored
This assert just caught me, and this improved message would have saved me some time.
-
Eli Friedman authored
The set of patterns for unpredicated load/store was incomplete: it only included non-extending stores. Fill out the remaining patterns for extending stores, and add the corresponding support to frame offset lowering. Differential Revision: https://reviews.llvm.org/D80349
-
Tim Renouf authored
The readFromBlob method can now be used to read MsgPack into a Document that already contains something, merging the two. There is a new Merger argument to readFromBlob, a callback function to resolve conflicts. Differential Revision: https://reviews.llvm.org/D79671 Change-Id: Icf3e959217fe33cd907a41516c0386aef2847c0c
-
Hendrik Greving authored
This is a test commit as per Chris to verify commit access. Thanks!
-
Yitzhak Mandelbaum authored
Fixes transposed names in comment.
-
Marcello Maggioni authored
Summary: For some targets generic combines don't really do much and they consume a disproportionate amount of time. There's not really a mechanism in SDISel to tactically disable combines, but we can have a switch to disable all of them and let the targets just implement what they specifically need. Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79112
-
Marek Kurdej authored
Reland [libc++] [LWG3321] Mark "year_month_day_last::day() specification does not cover !ok() values" issue as "Nothing to do", but add assertion. Summary: This LWG issue states that the result of `year_month_day_last::day()` is implementation defined if `ok()` is `false`. However, from user perspective, calling `day()` in this situation will lead to a (possibly difficult to find) crash. Hence, I have added an assertion to warn user at least when assertions are enabled. Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D70346
-
Nico Weber authored
This reverts commit f7c7e8a5. Breaks build everywhere.
-
Jonas Devlieghere authored
Fixes warning: control reaches end of non-void function [-Wreturn-type]
-
Thomas Raoux authored
Enable inset/extract/construct composite ops as well as access chain for cooperative matrix. ConstantComposite requires more change and will be done in a separate patch. Also fix the getNumElements function for coopMatrix per feedback from Jeff Bolz. The number of element is implementation dependent so it cannot be known at compile time. Differential Revision: https://reviews.llvm.org/D80321
-
Stanislav Mekhanoshin authored
-
Thomas Raoux authored
Adds support for cooperative matrix support for arithmetic and cast instructions. It also adds cooperative matrix store, muladd and matrixlength instructions which are part of the extension. Differential Revision: https://reviews.llvm.org/D80181
-
Jan Korous authored
Differential Revision: https://reviews.llvm.org/D77177
-
Louis Dionne authored
Instead of linking the tests against a library in some version of the SDK, always link against the latest library, but still run against the specified back-deployment target dylib. This makes more sense since what we're really trying to test is that the current library can be used to produce binaries that run on some deployment target -- not that linking against the library in some previous SDK makes that possible. This solves an additional issue that when linking against a system dylib, the -rpath argument given to the tests is ignored because the install_name of the system library we link against is absolute. rdar://63241847
-
Jonas Devlieghere authored
Reproducer.cpp:70:12: error: could not convert ‘Repro’ from ‘std::unique_ptr<llvm::dsymutil::ReproducerGenerate, std::default_delete<llvm::dsymutil::ReproducerGenerate> >’ to ‘llvm::Expected<std::unique_ptr<llvm::dsymutil::Reproducer> >’
-
Hiroshi Yamauchi authored
Summary: Module::setProfileSummary currently calls addModuelFlag. This prevents from updating the ProfileSummary metadata in the module and results in a second ProfileSummary added instead of replacing an existing one. I don't think this is the expected behavior. It prevents updating the ProfileSummary and it does not make sense to have more than one. To address this, add Module::setModuleFlag and use it from setProfileSummary. Reviewers: davidxl Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79902
-
Thomas Lively authored
Summary: This patch fixes a bug where initialization code for .bss segments was emitted in the memory initialization function even though the .bss segments were discounted in the datacount section and omitted in the data section. This was producing invalid binaries due to out-of-bounds segment indices on the memory.init and data.drop instructions that were trying to operate on the nonexistent .bss segments. Reviewers: sbc100 Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80354
-
LLVM GN Syncbot authored
-
Jonas Devlieghere authored
-