- Oct 02, 2021
-
-
wren romano authored
This is preliminary work towards D110790 Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D110882
-
Nikita Popov authored
When taking into account the fact that GEP indices are truncated to 32-bits in this test, the "path dependence" goes away, so inferring MustAlias for all pointers would be correct. As this goes against the spirit of the test, change it to extend from i16 instead.
-
Nikita Popov authored
These show that the known bits and non-zero heuristics are incorrect when truncation is involved.
-
Daniel Resnick authored
Exposes mlir::TypeID to the C API as MlirTypeID along with various accessors and helper functions. Differential Revision: https://reviews.llvm.org/D110897
-
LLVM GN Syncbot authored
-
Tomasz Miąsko authored
Rust allows use of non-ASCII identifiers, which in Rust mangling scheme are encoded using Punycode. The encoding deviates from the standard by using an underscore as the separator between ASCII part and a base-36 encoding of non-ASCII characters (avoiding hypen-minus in the symbol name). Other than that, the encoding follows the standard, and the decoder implemented here in turn follows the one given in RFC 3492. To avoid an extra intermediate memory allocation while decoding Punycode, the interface of OutputStream is extended with an insert method. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D104366
-
Simon Pilgrim authored
One of the cases identified in PR45116 - we don't need to limit extracted loads to ABI alignment, we can use allowsMemoryAccess - which tests using getABITypeAlign, but also checks if a target permits (fast) misaligned memory loads by checking allowsMisalignedMemoryAccesses as a fallback. I've also cleaned up the alignment calculation code - if we have a constant extraction index then the alignment can be based on an offset from the original vector load alignment, but for non-constant indices we should assume the worst (single element alignment only). Differential Revision: https://reviews.llvm.org/D110486
-
Jay Foad authored
In collectTiedOperands, when handling an undef use that is tied to a def, constrain the dst reg with the actual register class of the src reg, instead of with the register class from the instructions's MCInstrDesc. This makes a difference in some AMDGPU test cases like this, before: %16:sgpr_96 = INSERT_SUBREG undef %15:sgpr_96_with_sub0_sub1(tied-def 0), killed %11:sreg_64_xexec, %subreg.sub0_sub1 After, without this patch: undef %16.sub0_sub1:sgpr_96 = COPY killed %11:sreg_64_xexec This fails machine verification if you force it to run after TwoAddressInstruction (currently it is disabled) with: *** Bad machine code: Invalid register class for subregister index *** - function: s_load_constant_v3i32_align4 - basic block: %bb.0 (0xa011a88) - instruction: undef %16.sub0_sub1:sgpr_96 = COPY killed %11:sreg_64_xexec - operand 0: undef %16.sub0_sub1:sgpr_96 Register class SGPR_96 does not fully support subreg index 4 After, with this patch: undef %16.sub0_sub1:sgpr_96_with_sub0_sub1 = COPY killed %11:sreg_64_xexec See also svn r159120 which introduced the code to handle tied undef uses. Differential Revision: https://reviews.llvm.org/D110944
-
Jay Foad authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Jinsong Ji authored
LTO don't need binder option , don't pass it in LTO mode. Reviewed By: Whitney Differential Revision: https://reviews.llvm.org/D110955
-
Nikita Popov authored
This is a variant with a variable index, in which case the pointer size adjustment is not performed.
-
Valentin Clement authored
All big enough parser, printer and verifier are moved to the cpp file. This is one of the last one to be moved. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D110929
-
ZijunZhao authored
-
Lang Hames authored
-
Michał Górny authored
-
Sanjay Patel authored
This is no-externally-visible-functional-difference-intended. That is, the test diffs show identical instructions other than name changes (those are included specifically to verify the logic). The existing transforms created extra instructions and relied on subsequent folds to get to the final result, but that could conflict with other transforms like the proposed D110170 (and caused that patch to be reverted twice so far because of infinite combine loops).
-
LLVM GN Syncbot authored
-
Lang Hames authored
With the removal of OrcRPCExecutorProcessControl and OrcRPCTPCServer in 6aeed7b1 the ORC RPC library no longer has any in-tree users. Clients needing serialization for ORC should move to Simple Packed Serialization (usually by adopting SimpleRemoteEPC for remote JITing).
-
Lei Zhang authored
Tiling can create dim ops and those dim ops can take `InitTensorOp` as input. Including it in the tiling canonicalization patterns allows us to fold those dim ops away. Also sorted the existing ops along the way. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D110876
-
Arthur Eubanks authored
We expose the fact that we rely on unsigned wrapping to iterate through all indexes. This can be confusing. Rather, keeping it as an implementation detail through an iterator is less confusing and is less code. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D110885
-
Jay Foad authored
Enabling this does not show any problems in check-llvm in an LLVM_ENABLE_EXPENSIVE_CHECKS build. Differential Revision: https://reviews.llvm.org/D110703
-
Jay Foad authored
LiveVariables does not examine the contents of bundles, so MachineVerifier should not expect it to know about kill flags on operands of instructions inside a bundle. With this fix we can enable machine verification after running the LiveVariables analysis. Doing this does not show any problems in check-llvm in an LLVM_ENABLE_EXPENSIVE_CHECKS build. Differential Revision: https://reviews.llvm.org/D110700
-
Jay Foad authored
Enabling this does not show any problems in check-llvm in an LLVM_ENABLE_EXPENSIVE_CHECKS build. Differential Revision: https://reviews.llvm.org/D110697
-
Jay Foad authored
Enabling this does not show any problems in check-llvm in an LLVM_ENABLE_EXPENSIVE_CHECKS build. Differential Revision: https://reviews.llvm.org/D110695
-
Jay Foad authored
Machine verification after DetectDeadLanes has been disabled since the pass was first added in D18427, but I guess this was just due to copy- and-paste. Enabling it does not show any problems in check-llvm in an LLVM_ENABLE_EXPENSIVE_CHECKS build. Differential Revision: https://reviews.llvm.org/D110689
-
Arthur O'Dwyer authored
This reverts part of commit b82683b2. I hadn't intended to remove the `// -*- C++ -*-` comment line from `libcxx/include/version`, only from the generated tests. Thanks to Raul Tambre for the catch.
-
Lang Hames authored
All in-tree tools have moved to SimpleRemoteEPC.
-
Kazu Hirata authored
Note that getNumArgOperands is considered a legacy name. See llvm/include/llvm/IR/InstrTypes.h for details.
-
zhijian authored
[AIX]implement the --syms and using "symbol index and qualname" for --sym --symbol--description for llvm-objdump for xcoff Summary: for xcoff : implement the getSymbolFlag and getSymbolType() for option --syms. llvm-objdump --sym , if the symbol is label, print the containing section for the symbol too. when using llvm-objdump --sym --symbol--description, print the symbol index and qualname for symbol. for example: --symbol-description 00000000000000c0 l .text (csect: (idx: 2) .foov[PR]) (idx: 3) .foov and without --symbol-description 00000000000000c0 l .text (csect: .foov) .foov Reviewers: James Henderson,Esme Yi Differential Revision: https://reviews.llvm.org/D109452
-
Roman Lebedev authored
-
Michał Górny authored
-
Arthur O'Dwyer authored
Discussed in D110794.
-
Anna Thomas authored
isInstructionTriviallyDead also works for certain side-effecting instructions. Update incorrect comment (as suggested in D109917).
-
Peyton, Jonathan L authored
Store CPUID support flags as bits instead of using entire integers. Differential Revision: https://reviews.llvm.org/D110091
-
Peyton, Jonathan L authored
-
Arthur O'Dwyer authored
Even if these comments have a benefit in .h files (for editors that care about language but can't be configured to treat .h as C++ code), they certainly have no benefit for files with the .cpp extension. Discussed in D110794.
-
Arthur O'Dwyer authored
Even if these comments have a benefit in .h files (for editors that care about language but can't be configured to treat .h as C++ code), they certainly have no benefit for files with the .cpp extension. Discussed in D110794.
-
- Oct 01, 2021
-
-
Lang Hames authored
ORC errors preserve the SymbolStringPool since 6fe2e9a9, so we can stop bailing out early.
-