- Jun 30, 2020
-
-
Ye Luo authored
Summary: Warnings are printed by clang when building LIBOMPTARGET_ENABLE_DEBUG=ON due incorrect format string. Reviewers: tianshilei1992, jdoerfert Reviewed By: tianshilei1992 Subscribers: yaxunl, guansong, sstefan1, openmp-commits Tags: #openmp Differential Revision: https://reviews.llvm.org/D82789
-
Alex Lorenz authored
if it's newer than the target version This change ensures that the arm64-apple-macOS slice is linked for macOS 11 even if the deployment target is earlier than macOS 11.
-
Richard Smith authored
-
David Blaikie authored
Found by linker failures in ThinLTO where the definition wasn't available when it needed to be. (eg: ThinLTO may've eliminated the one caller in the same TU and dropped the definition - breaking accidental implicit depenednce on that definition from elsewhere)
-
George Mitenkov authored
Added conversion pattern and tests for `spv.Bitcast` op. This one has a direct mapping in LLVM dialect so `DirectConversionPattern` was used. Differential Revision: https://reviews.llvm.org/D82748
-
Jacques Pienaar authored
Also fixed bug in type inferface generator to address bug where operands and attributes are interleaved. Differential Revision: https://reviews.llvm.org/D82819
-
Craig Topper authored
If the shuffle is a blend and one input is a 0 vector, we should prefer AND over PSHUFB since its available on more execution ports. Differential Revision: https://reviews.llvm.org/D82798
-
George Mitenkov authored
This patch introduces new conversion patterns for bit and logical negation op: `spv.Not` and `spv.LogicalNot`. They are implemented by applying xor on the operand and mask with all bits set. Differential Revision: https://reviews.llvm.org/D82637
-
Joel E. Denny authored
`FILECHECK_OPTS` was implemented so that a test runner, such as CI, can specify FileCheck debugging options, such as `-v` and `-vv`. However, if a test suite has a FileCheck call that already specifies `-v` or `-vv`, then that call will fail if `FILECHECK_OPTS` also specifies it. For `-vv`, this problem already exists: `clang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics-constrained.c` It's not yet clear if the `-vv` in that test was intentional, but this usage shouldn't fail anyway. It's already true that FileCheck permits `-vv` and `-v` together even though `-vv` implies `-v`. Compare D70784, which fixed the same problem for `-dump-input`. Reviewed By: jhenderson, thopre Differential Revision: https://reviews.llvm.org/D82601
-
Joel E. Denny authored
Reviewed By: jhenderson, thopre Differential Revision: https://reviews.llvm.org/D82658
-
James Y Knight authored
specified at Command creation, rather than as part of the Tool. This resolves the hack I just added to allow Darwin toolchain to vary its level of support based on `-mlinker-version=`. The change preserves the _current_ settings for response-file support. Some tools look likely to be declaring that they don't support response files in error, however I kept them as-is in order for this change to be a simple refactoring. Differential Revision: https://reviews.llvm.org/D82782
-
James Y Knight authored
In XCode 12, ld64 got support for @files, in addition to the old -filelist mechanism. Response files allow passing all command-line arguments to the linker via a file, rather than just filenames, and is therefore preferred. Because of the way response-file support is currently implemented as part of the Tool class in Clang, this change requires an ugly backdoor function to access Args. A follow-up commit fixes this, but I've ordered this change first, for easier backportability. I've added no tests here, because unfortunately, there don't appear to be _any_ response-file emission automated tests, and I don't see an obvious way to add them. I've tested that this change works as expected locally. Differential Revision: https://reviews.llvm.org/D82777
-
Christopher Tetreault authored
Reviewers: efriedma, pcc, gchatelet, kmclaughlin, sdesmalen Reviewed By: sdesmalen Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82241
-
Petr Hosek authored
The `-fuse-ld=lld` check might succeed because there's a system lld, but that lld may be out-of-date which would cause any tests that attempt to use for LTO fail. This was observed on some of the bots. Differential Revision: https://reviews.llvm.org/D81629
-
Rahul Joshi authored
- Also adopt variadic llvm::isa<> in more places. - Fixes https://bugs.llvm.org/show_bug.cgi?id=46445 Differential Revision: https://reviews.llvm.org/D82769
-
Christopher Tetreault authored
Summary: add_unittest was checking that the result of get_target_property was not "NOTFOUND", but despite what the documentation says, get_target_property returns <the var>-NOTFOUND on failure. Reviewers: efriedma, thakis, serge-sans-paille, chandlerc Reviewed By: serge-sans-paille Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81762
-
Richard Smith authored
instead of postfix-expressions, and improve error recovery for postfix operators after unary-expressions. This covers nullptr, __null, and some calls to type traits with special parsing rules. We would previously not parse a postfix-expression suffix for these expressions, so would reject expressions such as __is_trivial(int)["foo"]. For the case where a postfix-expression suffix is *not* permitted after a unary-expression (for example, after a new-expression or sizeof expression), produce a diagnostic if one appears there anyway. That's always ill-formed, but previously produced very bad diagnostics.
-
Adam D Straw authored
Current Affine comparison builders, which use operator overload, default to signed comparison. This creates the possibility of misuse of these builders and potential correctness issues when dealing with unsigned integers. This change makes the distinction between signed and unsigned comparison builders and forces the caller to make a choice between the two. Differential Revision: https://reviews.llvm.org/D82323
-
Eric Schweitz authored
Differential review: https://reviews.llvm.org/D82790
-
Lei Huang authored
-
Simon Pilgrim authored
-
Sam McCall authored
-
Jason Molenda authored
-
aartbik authored
Reviewed By: reidtatge Differential Revision: https://reviews.llvm.org/D82674
-
Sam McCall authored
Or at least get a clearer error message: http://lab.llvm.org:8011/builders/mlir-windows/builds/3958/steps/build-unified-tree/logs/stdio
-
Leonard Chan authored
After c7bcd431, this test started failing when running with the new pass manager. One of the CHECKs in this file checks how the vtable is loaded for a void cast, which involves taking 2 bitcasts from the pointer to the original object. The order of these bitcasts changes under the new PM. The order doesn't matter, so this relaxes the CHECKs. Differential Revision: https://reviews.llvm.org/D82802
-
Nick Desaulniers authored
This reverts commit 33d63f02ce408d181e13089ee5a667fb2e1cdc78. Differential Revision: https://reviews.llvm.org/D80681
-
Nick Desaulniers authored
This reverts commit dffc1420. Missed a hunk (D82690).
-
Sam McCall authored
This reverts commit a3684dfc.
-
Sam McCall authored
This reverts commit 9963d93b. Fails on mac/win: http://45.33.8.238/win/18704/step_9.txt http://45.33.8.238/mac/16341/step_9.txt
-
Sam McCall authored
This reverts commit 09b6dffb. Now compiles with GCC!
-
Davide Italiano authored
The define was wrong. I could've fixed it, but given this is unused I decided to drop the function altogether.
-
peter klausler authored
Expression analysis was being invoked on the bodies of statement functions as they were being encountered during name resolution. This led to failures on some FCVS tests in cases where those expressions contained implicitly typed objects. Defer the analysis of statemet function bodies to the end of the specification part, at which time the symbols of the enclosing scope will have been typed. Reviewed By: tskeith Differential Revision: https://reviews.llvm.org/D82796
-
Mircea Trofin authored
Reviewers: thakis Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82776
-
Reid Kleckner authored
Updates gn files for 918948db
-
Alex Lorenz authored
This change ensures that the Darwin driver doesn't add unsupported libraries to the link invocation when linking the Apple Silicon macOS slice. rdar://61011136 Differential Revision: https://reviews.llvm.org/D82696
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
This was producing reg = xor undef reg, undef reg. This looks similar to a use of a value to define itself, and I want to disallow undef uses for SSA virtual registers. If this were to use implicit_def, there's no guarantee the two operands end up using the same register (I think no guarantee exists even if the two operands start out as the same register, but this was violated when I switched this to use an explicit implicit_def). The MOV32r0 pseudo evidently exists to handle this case, so use it instead. This was more work than I expected for the 64-bit case, but I didn't see any helper for materializing a 64-bit 0.
-
Reid Kleckner authored
-