- Mar 17, 2020
-
-
Adrian Kuegel authored
Summary: Matching %x makes the test fail. Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D76272
-
QingShan Zhang authored
-
Georgii Rymar authored
This test uses a precompiled object and duplicates the functionality of a modern elf-no-symtab.yaml test that uses yaml2obj for producing inputs. Differential revision: https://reviews.llvm.org/D76217
-
Georgii Rymar authored
This is a follow-up for D75608. The `Offset` property is unused and can be removed to reduce tests. This patch does nothing with `reloc-types-elf-i386.test` which has a different structure and kind of tests the `Offset`. I think we might want to split it probably. Differential revision: https://reviews.llvm.org/D76195
-
Haojian Wu authored
-
LLVM GN Syncbot authored
-
Haojian Wu authored
To group the code in one place, simplify it and make it easier to add the containsErrors bit and find existing bugs. Reviewers: sammccall Reviewed By: sammccall Tags: #clang Differential Revision: https://reviews.llvm.org/D73638
-
Roman Lebedev authored
It is somewhat problematic to notice this issue otherwise.
-
Vitaly Buka authored
-
Jason Molenda authored
<rdar://problem/60230324>
-
Stefanos Baziotis authored
-
QingShan Zhang authored
The logic in select_cc is messy and hard to follow. This is a NFC patch to simplify the logic. Differential Revision: https://reviews.llvm.org/D75834
-
Serguei Katkov authored
According to LangRef: If len is not a positive integer multiple of element_size, then the behaviour of the intrinsic is undefined. Add InstCombine rule to transform intrinsic to undef operation. This is a follow-up for D76116. Reviewers: reames Reviewed By: reames Subscribers: hiraditya, jfb, dantrushin, llvm-commits Differential Revision: https://reviews.llvm.org/D76215
-
Chen Zheng authored
-
Uday Bondhugula authored
- Detect "c_1 * expr + c_2 * expr" as (c_1 + c_2) * expr - subsumes things like 'expr - expr' and "expr * -1 + expr" as 0. - change AffineConstantExpr ctor to allow default null init Signed-off-by:
Uday Bondhugula <uday@polymagelabs.com> Differential Revision: https://reviews.llvm.org/D76233
-
Vitaly Buka authored
-
Vitaly Buka authored
Return value is not used anyway as PTHREAD_JOIN is not implemented.
-
Michael Liao authored
-
Shengchen Kan authored
Reviewers: reames, MaskRay, craig.topper, LuoYuanke, jyknight Reviewed By: LuoYuanke Subscribers: annita.zhang, llvm-commits, hiraditya Tags: #llvm Differential Revision: https://reviews.llvm.org/D76176
-
River Riddle authored
Summary: This adds bitfields that map to the dialect attribute verifier hooks. This also moves over the Test dialect to have its declaration generated. Differential Revision: https://reviews.llvm.org/D76254
-
Douglas Gliner authored
Currently, when building with the Unix support library and `isatty` does not exist for the target platform (i.e. `HAVE_ISATTY` is false), compilation of the file `raw_ostream.cpp` will fail due to direct use of `isatty` in the function `raw_fd_ostream::preferred_buffer_size()`. Use is_displayed() to fix the problem. Reviewed By: probinson, MaskRay Differential Revision: https://reviews.llvm.org/D75278
-
Craig Topper authored
This fails an assert because the type is marked in the calling convention td file as needing promotion, but the code doesn't know how to do it. It also much more complicated because we try to pass these in xmm/ymm/zmm registers. As of a few weeks ago we do this promotion from getRegisterTypeForCallingConv before the td file generated code gets involved.
-
Adrian Prantl authored
which is the more appropriate API for its use-case. Differential Revision: https://reviews.llvm.org/D75715
-
Sriraman Tallam authored
This test fails on ppc which was unintended. Revision: D73674.
-
River Riddle authored
Summary: PatternState was a mechanism to pass state between the match and rewrite calls of a RewritePattern. With the rise of matchAndRewrite, this class is unused and unnecessary. This revision removes PatternState and simplifies PatternMatchResult to just be a LogicalResult. A future revision will replace all usages of PatternMatchResult/matchSuccess/matchFailure with LogicalResult equivalents. Differential Revision: https://reviews.llvm.org/D76202
-
Uday Bondhugula authored
- rename vars that had inst suffixes (due to ops earlier being known as insts); other renames for better readability - drop unnecessary matches in test cases - iterate without block terminator - comment/doc updates - instBodySkew -> affineForOpBodySkew Signed-off-by:
Uday Bondhugula <uday@polymagelabs.com> Differential Revision: https://reviews.llvm.org/D76214
-
Eric Christopher authored
Fixes -Werror builds.
-
Philip Reames authored
Note that I'm not asserting this code is correct; I'm simply adding coverage for what's there already. I'm reasonable sure the logic works for existing relaxable instructions, but I wouldn't be suprised if there were incorrect cases for other instructions. (i.e. is it legal to add prefixes to all instructions?)
-
Dmitry Mikulin authored
- libclang_rt.profile should be added when -fcs-profile-generate is on thecommand line. - OPT_fno_profile_instr_generate was used as a negative for OPT_fprofile_generate. Fix it to use OPT_fno_profile_generate. Differential Revision: https://reviews.llvm.org/D75274
-
Saar Raz authored
[Concepts] Fix incorrect control flow when TryAnnotateTypeConstraint annotates an invalid template-id TryAnnotateTypeConstraint could annotate a template-id which doesn't end up being a type-constraint, in which case control flow would incorrectly flow into ParseImplicitInt. Reenter the loop in this case. Enable relevant tests for C++20. This required disabling typo-correction during TryAnnotateTypeConstraint and changing a test case which is broken due to a separate bug (will be reported and handled separately).
-
Evgenii Stepanov authored
Summary: Run StackSafetyAnalysis at the end of the IR pipeline and annotate proven safe allocas with !stack-safe metadata. Do not instrument such allocas in the AArch64StackTagging pass. Reviewers: pcc, vitalybuka, ostannard Reviewed By: vitalybuka Subscribers: merge_guards_bot, kristof.beyls, hiraditya, cfe-commits, gilang, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D73513
-
LLVM GN Syncbot authored
-
Sriraman Tallam authored
This is the second patch in a series of patches to enable basic block sections support. This patch adds support for: * Creating direct jumps at the end of basic blocks that have fall through instructions. * New pass, bbsections-prepare, that analyzes placement of basic blocks in sections. * Actual placing of a basic block in a unique section with special handling of exception handling blocks. * Supports placing a subset of basic blocks in a unique section. * Support for MIR serialization and deserialization with basic block sections. Parent patch : D68063 Differential Revision: https://reviews.llvm.org/D73674
-
Stefanos Baziotis authored
-
- Mar 16, 2020
-
-
Stefanos Baziotis authored
-
Artem Belevich authored
-
Feng Liu authored
Summary: This regional op in the QuantOps dialect will be used to wrap high-precision ops into atomic units for quantization. All the values used by the internal ops are captured explicitly by the op inputs. The quantization parameters of the inputs and outputs are stored in the attributes. Subscribers: jfb, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, Joonsoo, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75972
-
Craig Topper authored
-
Benjamin Kramer authored
-
River Riddle authored
MSVC is unable to deduce template types when the type involves auto.
-