- Jun 05, 2020
-
-
aartbik authored
Summary: Add missing comment to CreateMask. Fixed typo in ConstantMask comment. Reviewers: nicolasvasilache, rriddle, reidtatge, ftynse Reviewed By: ftynse Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul Tags: #mlir Differential Revision: https://reviews.llvm.org/D81125
-
Florian Hahn authored
We can simplify the code a bit by using iterator_range instead of plain iterators. Matrix type support here (added in 6f6e91d1) already uses an iterator_range. Reviewers: rjmccall, arphaman, jfb, Bigcheese Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D81138
-
Dmitri Gribenko authored
Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D81180
-
Valentin Clement authored
Summary: Patch D80794 remove the custom flags for release build for flang. This leads to build failure with GCC < 8. This patch add upperbound check in order to avoid the -Werror=array-bounds to trigger a build failure. ``` /home/4vn/versioning/llvm-project/flang/lib/Decimal/big-radix-floating-point.h:183:29: error: array subscript is above array bounds [-Werror=array-bounds] digit_[j] = digit_[j + remove]; ~~~~~~^ /home/4vn/versioning/llvm-project/flang/lib/Decimal/big-radix-floating-point.h:183:29: error: array subscript is above array bounds [-Werror=array-bounds] digit_[j] = digit_[j + remove]; ~~~~~~^ /home/4vn/versioning/llvm-project/flang/lib/Decimal/big-radix-floating-point.h:183:29: error: array subscript is above array bounds [-Werror=array-bounds] digit_[j] = digit_[j + remove]; ~~~~~~^ /home/4vn/versioning/llvm-project/flang/lib/Decimal/big-radix-floating-point.h:183:29: error: array subscript is above array bounds [-Werror=array-bounds] digit_[j] = digit_[j + remove]; ~~~~~~^ /home/4vn/versioning/llvm-project/flang/lib/Decimal/big-radix-floating-point.h:183:29: error: array subscript is above array bounds [-Werror=array-bounds] digit_[j] = digit_[j + remove]; ``` ``` /home/4vn/versioning/llvm-project/flang/include/flang/Evaluate/integer.h:809:28: error: array subscript is above array bounds [-Werror=array-bounds] xy += product[to]; ~~~~~~~^ /home/4vn/versioning/llvm-project/flang/include/flang/Evaluate/integer.h:810:22: error: array subscript is above array bounds [-Werror=array-bounds] product[to] = xy & partMask; ~~~~~~~^ /home/4vn/versioning/llvm-project/flang/include/flang/Evaluate/integer.h:809:28: error: array subscript is above array bounds [-Werror=array-bounds] xy += product[to]; ~~~~~~~^ ``` Reviewers: DavidTruby, sscalpone, jdoerfert Reviewed By: DavidTruby Subscribers: llvm-commits Tags: #llvm, #flang Differential Revision: https://reviews.llvm.org/D81179 -
Hiroshi Yamauchi authored
Summary: Following up D79831. Reviewers: davidxl Subscribers: eraman, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80939
-
Sanjay Patel authored
select Cond, (shuf_sel X, Y), X --> shuf_sel X, (select Cond, Y, X) A select of a select-shuffle ("blend" in x86 lingo) can be reversed so that the select is done first. This is a more limited version of what I was trying in D80658, but it enables existing demanded bits transforms to catch some of the motivating cases. The tricky bit in that seems to be that by moving the shuffle later, we can always guarantee that poison is correctly inhibited by the shuffle mask in the final value. Alive2 checks for the basic tests: http://volta.cs.utah.edu:8080/z/Qqd3RK http://volta.cs.utah.edu:8080/z/S4wchM http://volta.cs.utah.edu:8080/z/wf9zPL http://volta.cs.utah.edu:8080/z/wJeEGk Differential Revision: https://reviews.llvm.org/D81013 -
Jan Korous authored
Just two paragraphs above it says: "If the compiler does not support this [skipping code generation for a particular branch], it will fall back to the "abort" implementation." And that actually correctly describes llvm_unreachable implementation. Differential Revision: https://reviews.llvm.org/D81130
-
Eduardo Caldas authored
Reviewers: gribozavr2 Reviewed By: gribozavr2 Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D81157
-
Louis Dionne authored
It is legitimate for the test suite to use types that are slow to use with std::atomic, since we need coverage for those too. If we don't disable the warning, it is promoted to an error, which prevents us from testing such types.
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
Huihui Zhang authored
The purpose of vscale-factor-out-constant.ll is to check we are crashing with blind cast 'Factor' in a MulExpr to SCEVConstant.
-
Thomas Raoux authored
Add SubgroupId, SubgroupSize and NumSubgroups to GPU dialect ops and add the lowering of those ops to SPIRV. Differential Revision: https://reviews.llvm.org/D81042
-
Amara Emerson authored
Differential Revision: https://reviews.llvm.org/D81116
-
Jim Ingham authored
The printf expression crashes with the message: Attempted to dereference an invalid pointer Someone who knows more about Windows should suggest how to fix this.
-
Hans Wennborg authored
The -stress-sched flag is only available when asserts are enabled.
-
Jan Kratochvil authored
Bug 46181 shows SLEB128 0xED9A924C00011151 decoded as 0xffffffff80011151. LLDB show a wrong value for function argument https://bugs.llvm.org/show_bug.cgi?id=46181 Differential Revision: https://reviews.llvm.org/D81119 -
Layton Kifer authored
Remove the requirement, that when performing accumulator elimination, all other cases must return the same dynamic constant. We can do this by initializing the accumulator with the identity value of the accumulation operation, and inserting an additional operation before any return. Differential Revision: https://reviews.llvm.org/D80844
-
Huihui Zhang authored
Summary: In SCEVExpander FactorOutConstant(), when GEP indexing into/over scalable vector, it is legal for the 'Factor' in a MulExpr to be the size of a scalable vector instead of a compile-time constant. Current upstream crash with the test attached. Reviewers: efriedma, sdesmalen, sanjoy.google, mkazantsev Reviewed By: efriedma Subscribers: hiraditya, javed.absar, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80973
-
Christopher Tetreault authored
Reviewers: efriedma, jnspaulsson, kmclaughlin, sdesmalen, samparker, uweigand Reviewed By: uweigand Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80329
-
Nathan James authored
Disables the check from warning on some built in vararg functions, Address [[ https://bugs.llvm.org/show_bug.cgi?id=45860 | Clang-tidy should not consider __builtin_constant_p a variadic function. ]] Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D80887
-
Zinovy Nis authored
Differential Revision: https://reviews.llvm.org/D80536
-
ZequanWu authored
-
Alexey Bataev authored
Summary: If the variables must be globalized in OpenMP mode (local automatic variable, GPU compilation mode, the variable may escape its declaration context by the reference or by the pointer), it should not be considered as the NRVO candidate. Otherwise, incorrect the return value of the function might not be updated. Reviewers: jdoerfert Subscribers: yaxunl, guansong, sstefan1, cfe-commits, caomhin Tags: #clang Differential Revision: https://reviews.llvm.org/D80936
-
Fangrui Song authored
-
Louis Dionne authored
-
- Jun 04, 2020
-
-
Fangrui Song authored
Like non-verbose output, so that it is easy to recognize the `Line,Column,File,ISA,Discriminator` column values. Reviewed By: JDevlieghere, jhenderson Differential Revision: https://reviews.llvm.org/D80874
-
Dmitri Gribenko authored
Summary: The unittest for AST matchers has its own way to specify language standards. I unified it with the shared infrastructure from libClangTesting. Reviewers: jdoerfert, hlopko Reviewed By: hlopko Subscribers: mgorny, sstefan1, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D81150
-
Louis Dionne authored
Also, refactor the now-merged script to remove code duplication in the creation of universal dylibs.
-
Matt Arsenault authored
This wasn't getting much value from the DAG or depth arguments, since it's only called on the frame index root nodes. FrameIndexes can also only return a scalar value, so it also didn't need DemandedElts.
-
Jonathan Coe authored
Summary: Google's C# style guide is at https://google.github.io/styleguide/csharp-style.html Reviewers: krasimir, MyDeveloperDay, sammccall Reviewed By: MyDeveloperDay Subscribers: cfe-commits, klimek Tags: #clang-format, #clang Differential Revision: https://reviews.llvm.org/D79715
-
Louis Dionne authored
-
Eduardo Caldas authored
Reviewers: gribozavr2 Reviewed By: gribozavr2 Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D81155
-
Balázs Kéri authored
Summary: BugType objects are initialized in-class instead of by lazy initialization. FuchsiaHandleChecker does this already. Reviewers: Szelethus, baloghadamsoftware, martong Reviewed By: Szelethus Subscribers: rnkovacs, xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, gamesh411, Charusso, martong, ASDenysPetrov, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D80725
-
Russell Gallop authored
This reverts commit 30949926. This was failing on bot here: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/32749
-
Matt Arsenault authored
-