- Jun 04, 2020
-
-
Sanjay Patel authored
-
Anastasia Stulova authored
Added extensions and their function declarations into the standard header. Patch by Piotr Fusik! Tags: #clang Differential Revision: https://reviews.llvm.org/D79781
-
Vince Bridgers authored
Summary: See https://bugs.llvm.org/show_bug.cgi?id=46128. The checker does not yet comprehend constraints involving multiple symbols, so it's possible to calculate a VLA size that's negative or 0. A LIT is added to catch regressions, and this change simply bails if a VLA size of 0 or less is calculated. Reviewers: balazske, NoQ, martong, baloghadamsoftware, Szelethus, gamesh411 Reviewed By: balazske, NoQ, Szelethus Subscribers: xazax.hun, szepet, rnkovacs, a.sidorin, mikhail.ramalho, donat.nagy, Charusso, ASDenysPetrov, cfe-commits, dkrupp Tags: #clang Differential Revision: https://reviews.llvm.org/D80903
-
Sanjay Patel authored
More coverage for D80867.
-
Simon Moll authored
This patch fixes VPIntrinsic::canIgnoreVectorLength when used on a VPIntrinsic with scalable vector types. Also includes new unittest cases for the '<vscale x 1 x whatever>' and '%evl == vscale' corner cases.
-
David Green authored
-
Nico Weber authored
-
Eduardo Caldas authored
Reviewers: gribozavr2 Reviewed By: gribozavr2 Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D81135
-
Max Kazantsev authored
We plan to add more transforms here. Besides, this check should be done in the beginning just from function's name.
-
Max Kazantsev authored
-
Georgii Rymar authored
Was introduced in D81005 by mistake. Catched by BB: http://lab.llvm.org:8011/builders/clang-ppc64le-rhel/builds/4070/steps/build%20stage%201/logs/stdio
-
Paul Walker authored
Subscribers: hiraditya, thopre, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81094
-
Yvan Roux authored
-
Simon Pilgrim authored
D79003/rG9fa58d1b exposed an issue with scalarizeBinOpOfSplats that we were extracting from the splatted vector result instead of the source, the splat index is only valid for the source vector not the result, which may contain undefs, including at the splat index.
-
Tim Northover authored
This reverts commit 21dadd77. In at least PromoteIntBinOps, they wanted to know about users of *all* values produced by the node not just the integer being promoted. For example not replacing chain users if the operation was a load breaks the ordering of the DAG.
-
Georgii Rymar authored
This implements a new "Excluded" key that can be used to exclude entries from section header: ``` SectionHeaderTable: Sections: ... Excluded: - Name: .foo ``` Differential revision: https://reviews.llvm.org/D81005 -
Djordje Todorovic authored
Describe parameter's value loaded by MIPS ADDiu instruction. When parameter's value is loaded into a register by mips ADDiu/DADDiu instruction, it could be described correctly and emitted as DW_AT_GNU_call_site_value. Patch by Nikola Tesic Differential revision: https://reviews.llvm.org/D78108
-
Florian Hahn authored
The matrix_types() helper returning an iterator range is used instead.
-
Simon Pilgrim authored
-
Georgii Rymar authored
This reverts commit aa3a85cd. There are problems with it. See here: https://reviews.llvm.org/D80629
-
Esme-Yi authored
Summary: A bug is reported in bugzilla-45628, where the swap_with_shift case can’t be matched to a single HW instruction xxswapd as expected. In fact the case matches the idiom of rotate, but PPC doesn’t support ROTL v1i128. This is a NFC patch for testing ROTL with v1i128 at master. Reviewed By: steven.zhang Differential Revision: https://reviews.llvm.org/D81073
-
Kadir Cetinkaya authored
-
Vitaly Buka authored
-
Vitaly Buka authored
Summary: Depends on D80956. Reviewers: eugenis Reviewed By: eugenis Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80976
-
Jay Foad authored
Differential Revision: https://reviews.llvm.org/D81012
-
Jay Foad authored
This is in preparation for scheduling them slightly differently on gfx10. NFC. Differential Revision: https://reviews.llvm.org/D81011
-
Kazushi (Jam) Marukawa authored
Summary: Gather definitions of SDNodeXForm and change them to call C functions instead of copying C expressions in td files. Doing this solved some bugs in mimm detections. Differential Revision: https://reviews.llvm.org/D81132
-
Georgii Rymar authored
We have unobvious issue in the condition that is used to check that we do not read past the EOF. The problem is that the result of "GnuHashTable->nbuckets * 4" expression is uint32. Because of that it was still possible to overflow it and pass the check. There was no such problem with the "GnuHashTable->maskwords * sizeof(typename ELFT::Off)" condition, because of `sizeof` on the right (which gives 64-bits value on x64), but I've added an explicit conversion to 64-bit value for `GnuHashTable->maskwords` too. Differential revision: https://reviews.llvm.org/D81103
-
Dmitri Gribenko authored
Summary: The syntax tree test uses a helper function that executes all testing assertions. When an assertion fails, the only line number that gets printed to the log refers to the helper function. After this change, we would also get the line number of the EXPECT_TRUE macro invocation (unfortunately, the line number of the last token of it, not the first one, but there's not much I can do about it). Reviewers: hlopko, eduucaldas Reviewed By: hlopko, eduucaldas Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D81107
-
Qiu Chaofan authored
On PowerPC, FNMSUB (both VSX and non-VSX version) means -(a*b-c). But the backend used to generate these instructions regardless whether nsz flag exists or not. If a*b-c==0, such transformation changes sign of zero. This patch introduces PPC specific FNMSUB ISD opcode, which may help improving combined FMA code sequence. Reviewed By: steven.zhang Differential Revision: https://reviews.llvm.org/D76585
-
Yevgeny Rouban authored
Allow InvokeInst to have the second optional prof branch weight for its unwind branch. InvokeInst is a terminator with two successors. It might have its unwind branch taken many times. If so the BranchProbabilityInfo unwind branch heuristic can be inaccurate. This patch allows a higher accuracy calculated with both branch weights set. Changes: - A new section about InvokeInst is added to the BranchWeightMetadata page. It states the old information that missed in the doc and adds new about the second branch weight. - Verifier is changed to allow either 1 or 2 branch weights for InvokeInst. - A new test is written for BranchProbabilityInfo to demonstrate the main improvement of the simple fix in calcMetadataWeights(). - Several new testcases are created for Inliner. Those check that both weights are accounted for invoke instruction weight calculation. - PGOUseFunc::setBranchWeights() is fixed to be applicable to InvokeInst. Reviewers: davidxl, reames, xur, yamauchi Tags: #llvm Differential Revision: https://reviews.llvm.org/D80618 -
Raphael Isemann authored
In the similar review D81128, Jonas pointed out some style errors that also apply to D80775 (which is already committed). Also applying the changes suggested there to this code.
-
Jan Korous authored
This reverts commit e4e3e419. Fixed dangling StringRef in test.
-
Gongyu Deng authored
Summary: Added the tab completion for `command script delete`. Reviewers: teemperor, JDevlieghere Reviewed By: teemperor Tags: #lldb Differential Revision: https://reviews.llvm.org/D80775
-
Jan Korous authored
It's literally just doc comments converted to unittests.
-
Yevgeny Rouban authored
Remove the function Instruction::setProfWeight() and make use of Instruction::copyMetadata(.., {LLVMContext::MD_prof}). This is correct for all use cases of setProfWeight() as it is applied to CallBase instructions only. This change results in prof metadata copied intact even if the source has "VP". The old pair of calls extractProfTotalWeight() + setProfWeight() resulted in setting branch_weights if the source had "VP" data. Reviewers: yamauchi, davidxl Tags: #llvm Differential Revision: https://reviews.llvm.org/D80987 -
Mikael Holmen authored
gcc 7.4 complained with ../lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp:125:23: warning: extra ';' [-Wpedantic] false); ^ -
Sam Parker authored
Casts and intrinsics are now handled by the default implementation of getUserCost, so remove them from the backends switch statement. https://reviews.llvm.org/D80994
-
Jean Perier authored
Summary: Fortran::evaluate::IsConstantExpr did not check that the numerator was a constant expression. This patch fixes the issue. Reviewers: DavidTruby, klausler, schweitz, PeteSteinfeld, jdoerfert, sscalpone Reviewed By: klausler, PeteSteinfeld, sscalpone Subscribers: llvm-commits Tags: #llvm, #flang Differential Revision: https://reviews.llvm.org/D81096
-
Kazu Hirata authored
Summary: Experiments show that inline deferral past pre-inlining slightly pessimizes the performance. This patch introduces an option to control inline deferral during PGO. The option defaults to true for now (that is, NFC). Reviewers: davidxl Reviewed By: davidxl Subscribers: eraman, hiraditya, haicheng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80776
-