- Jul 27, 2023
-
-
Alex Zinenko authored
This makes naming consisnt with XBackwardDataFlowAnalysis. Reviewed By: Mogball, phisiart Differential Revision: https://reviews.llvm.org/D155930
-
Viktoriia Bakalova authored
[clangd] Revert the symbol collector behavior to old pre-include-cleaner-library behavior due to a regression. Differential Revision: https://reviews.llvm.org/D156403
-
Cullen Rhodes authored
-
Cullen Rhodes authored
-
Michael Halkenhaeuser authored
Update documentation on implementation status of OMPT. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D156336
-
Ivan Kosarev authored
Helps tracking changes in the tables on adding new register classes and updating BaseClassOrder values. Also eliminates tables translating base register class indexes into TargetRegisterClass pointers. Reviewed By: critson Differential Revision: https://reviews.llvm.org/D156097
-
David Spickett authored
This is flaky: https://lab.llvm.org/buildbot/#/builders/198/builds/4094 Sometimes failing with an assert. I've seen it do the same thing on Windows On Arm and Linux.
-
Rainer Orth authored
As detailed in Issue #64126, several asan tests `FAIL` due to a cycle in `AsanInitInternal`. This can by avoided by disabling lazy binding with `ld -z now`. Tested on `amd64-pc-solaris2.11` and `x86_64-pc-linux-gnu`. Differential Revision: https://reviews.llvm.org/D156325
-
Jay Foad authored
Record the call frame size on entry to each basic block. This is usually zero except when a basic block has been split in the middle of a call sequence. This simplifies PEI::replaceFrameIndices which previously had to visit basic blocks in a specific order and had special handling for unreachable blocks. More importantly it paves the way for an equally simple implementation of a backwards version of replaceFrameIndices, which is required to fully convert PrologEpilogInserter to backwards register scavenging, which is preferred because it does not rely on accurate kill flags. Differential Revision: https://reviews.llvm.org/D156113
-
witstorm95 authored
information. Fixed https://github.com/llvm/llvm-project/issues/62348 Propagate cross suspend point information by visiting CFG. Just only go through two times at most, you can get all the cross suspend point information. Before the patch: ``` n: 20000 4.31user 0.11system 0:04.44elapsed 99%CPU (0avgtext+0avgdata 552352maxresident)k 0inputs+8848outputs (0major+126254minor)pagefaults 0swaps n: 40000 11.24user 0.40system 0:11.66elapsed 99%CPU (0avgtext+0avgdata 1788404maxresident)k 0inputs+17600outputs (0major+431105minor)pagefaults 0swaps n: 60000 21.65user 0.96system 0:22.62elapsed 99%CPU (0avgtext+0avgdata 3809836maxresident)k 0inputs+26352outputs (0major+934749minor)pagefaults 0swaps n: 80000 37.05user 1.53system 0:38.58elapsed 99%CPU (0avgtext+0avgdata 6602396maxresident)k 0inputs+35096outputs (0major+1622584minor)pagefaults 0swaps n: 100000 51.87user 2.67system 0:54.54elapsed 99%CPU (0avgtext+0avgdata 10210736maxresident)k 0inputs+43848outputs (0major+2518945minor)pagefaults 0swaps ``` After the patch: ``` n: 20000 3.17user 0.16system 0:03.33elapsed 100%CPU (0avgtext+0avgdata 551736maxresident)k 0inputs+8848outputs (0major+126192minor)pagefaults 0swaps n: 40000 6.10user 0.42system 0:06.54elapsed 99%CPU (0avgtext+0avgdata 1787848maxresident)k 0inputs+17600outputs (0major+432212minor)pagefaults 0swaps n: 60000 9.13user 0.89system 0:10.03elapsed 99%CPU (0avgtext+0avgdata 3809108maxresident)k 0inputs+26352outputs (0major+931280minor)pagefaults 0swaps n: 80000 12.44user 1.57system 0:14.02elapsed 99%CPU (0avgtext+0avgdata 6603432maxresident)k 0inputs+35096outputs (0major+1624635minor)pagefaults 0swaps n: 100000 16.29user 2.28system 0:18.59elapsed 99%CPU (0avgtext+0avgdata 10212808maxresident)k 0inputs+43848outputs (0major+2522200minor)pagefaults 0swaps ``` Reviewed By: ChuanqiXu Differential Revision: https://reviews.llvm.org/D154695
-
Chuanqi Xu authored
This reverts commit bb4121e6. Sorry for forgetting adding Differential Revision information. It may worth reverting this one and commit it again given this is a relative big patch.
-
witstorm95 authored
information. Fixed https://github.com/llvm/llvm-project/issues/62348 Propagate cross suspend point information by visiting CFG. Just only go through two times at most, you can get all the cross suspend point information. Before the patch: ``` n: 20000 4.31user 0.11system 0:04.44elapsed 99%CPU (0avgtext+0avgdata 552352maxresident)k 0inputs+8848outputs (0major+126254minor)pagefaults 0swaps n: 40000 11.24user 0.40system 0:11.66elapsed 99%CPU (0avgtext+0avgdata 1788404maxresident)k 0inputs+17600outputs (0major+431105minor)pagefaults 0swaps n: 60000 21.65user 0.96system 0:22.62elapsed 99%CPU (0avgtext+0avgdata 3809836maxresident)k 0inputs+26352outputs (0major+934749minor)pagefaults 0swaps n: 80000 37.05user 1.53system 0:38.58elapsed 99%CPU (0avgtext+0avgdata 6602396maxresident)k 0inputs+35096outputs (0major+1622584minor)pagefaults 0swaps n: 100000 51.87user 2.67system 0:54.54elapsed 99%CPU (0avgtext+0avgdata 10210736maxresident)k 0inputs+43848outputs (0major+2518945minor)pagefaults 0swaps ``` After the patch: ``` n: 20000 3.17user 0.16system 0:03.33elapsed 100%CPU (0avgtext+0avgdata 551736maxresident)k 0inputs+8848outputs (0major+126192minor)pagefaults 0swaps n: 40000 6.10user 0.42system 0:06.54elapsed 99%CPU (0avgtext+0avgdata 1787848maxresident)k 0inputs+17600outputs (0major+432212minor)pagefaults 0swaps n: 60000 9.13user 0.89system 0:10.03elapsed 99%CPU (0avgtext+0avgdata 3809108maxresident)k 0inputs+26352outputs (0major+931280minor)pagefaults 0swaps n: 80000 12.44user 1.57system 0:14.02elapsed 99%CPU (0avgtext+0avgdata 6603432maxresident)k 0inputs+35096outputs (0major+1624635minor)pagefaults 0swaps n: 100000 16.29user 2.28system 0:18.59elapsed 99%CPU (0avgtext+0avgdata 10212808maxresident)k 0inputs+43848outputs (0major+2522200minor)pagefaults 0swaps ```
-
Sameer Sahasrabuddhe authored
Some opcodes in generic MIR represent calls to intrinsics, where the intrinsic ID is the first non-def operand to the instruction. These are now represented as a subclass of GenericMachineInstr, and the method MachineInstr::getIntrinsicID() is now moved to this subclass GIntrinsic. Some target-defined instructions behave like GMIR intrinsics, and have an Intrinsic::ID operand. But they should not be recognized as generic intrinsics, and should not use GIntrinsic::getIntrinsicID(). Separated these out by introducing a new AMDGPU::getIntrinsicID(). Reviewed By: arsenm, Pierre-vh Differential Revision: https://reviews.llvm.org/D155556 This restores commit baa3386e. Originally reverted in d0f7850b.
-
Simon Pilgrim authored
-
David Green authored
Similar to other neon index instructions, it is beneficial to sink the splat to the instruction for fmlal in order for it to create the index.
-
Jianjian GUAN authored
This patch is similar to https://reviews.llvm.org/D153948, using helper function to get ISD and information. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D154411
-
Nikita Popov authored
-
Nikita Popov authored
This was reverted together with another commit due to a test conflict. Reapply without functional changes. ----- When commuting the operands, don't create a constant expression for undesirable binops. Only invoke the constant folding function in that case.
-
YAMAMOTO Takashi authored
Differential Revision: https://reviews.llvm.org/D155542
-
Alexandros Lamprineas authored
Those are added by the SCCP Solver before invoking the Specializer. They need to be removed otherwise the destructor of PredicateInfo complains. Differential Revision: https://reviews.llvm.org/D156365
-
Balázs Kéri authored
Import of field initializers with circular reference was not working, this is fixed now. Fixes issue #63120 Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D155574
-
David Green authored
The indexed fmlal should use a low numbered register for the index operand, which this fixes by making it V128_lo. Fixes 64104 Differential Revision: https://reviews.llvm.org/D156296
-
David Green authored
See D156296
-
Timm Bäder authored
This seems to fail on Windows: Interp\literals.cpp Line 946: cast to smaller integer type 'long' from 'char *'
-
Konstantin Varlamov authored
Use the new libc++ hardened mode instead of the deprecated safe mode. Reviewed By: benlangmuir Differential Revision: https://reviews.llvm.org/D156377
-
David CARLIER authored
Api available since Windows Server 2016/Windows 10 1607. Reviewers: vitalybuka Reviewed-By: vitalybuka Differential Revision: https://reviews.llvm.org/D156317
-
eopXD authored
The LLVM now supports v0.12 of the RVV intrinsics. Users can use the macro riscv_v_intrinsic to distinguish what kind of intrinsics is supported in the compiler. Please refer to tag descriptions under https://github.com/riscv-non-isa/rvv-intrinsic-doc/tags Reviewed By: kito-cheng Differential Revision: https://reviews.llvm.org/D156394
-
eopXD authored
As proposed in riscv-non-isa/rvv-intrinsic-doc#249, removing the interface. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D156321
-
LLVM GN Syncbot authored
-
eopXD authored
The trailing TU_MU suffixes was added in D154625. The trailing policy operand for these patterns has no real affect, as the vsetvli insertion pass omits the trailing policy operand when the merge operand is undefined. This patch is essentially an NFC. However, the policy implied for these patterns is actually TA_MA. This patch corrects them to avoid confusion. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D156342
-
Vitaly Buka authored
And dependent commits. Details in D150388. This reverts commit 825b7f0c. This reverts commit 7a98f084. This reverts commit b4a62b1f. This reverts commit b7836d85. No conflicts in the code, few tests had conflicts in autogenerated CHECKs: llvm/test/CodeGen/Thumb2/mve-float32regloops.ll llvm/test/CodeGen/AMDGPU/fix-frame-reg-in-custom-csr-spills.ll Reviewed By: alexfh Differential Revision: https://reviews.llvm.org/D156381
-
Jim Lin authored
CVInstMac reuses RVInstR that has the same encoding fields. Add a new class CVInst16I that has specific encoding fields, and two new class CVInstMac16I and CVInstMul16I that inherite CVInst16I with different outs and ins. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D156335
-
Paulo Matos authored
Simple fix for a extension name typo. NFC. Differential Revision: https://reviews.llvm.org/D156231
-
Sameer Sahasrabuddhe authored
This reverts commit baa3386e. The changes did not cover all occurrences of the deteleted function MachineInstr::getIntrinsicID().
-
Sameer Sahasrabuddhe authored
Some opcodes in generic MIR represent calls to intrinsics, where the intrinsic ID is the first non-def operand to the instruction. These are now represented as a subclass of GenericMachineInstr, and the method MachineInstr::getIntrinsicID() is now moved to this subclass GIntrinsic. Some target-defined instructions behave like GMIR intrinsics, and have an Intrinsic::ID operand. But they should not be recognized as generic intrinsics, and should not use GIntrinsic::getIntrinsicID(). Separated these out by introducing a new AMDGPU::getIntrinsicID(). Reviewed By: arsenm, Pierre-vh Differential Revision: https://reviews.llvm.org/D155556
-
Sameer Sahasrabuddhe authored
Fix the GenericSSAContext template so that it actually declares all the necessary typenames and the methods that must be implemented by its specializations SSAContext and MachineSSAContext. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D156288
-
Alfred Persson Forsberg authored
Previously including SCUDO in a libc build with runtimes/ as root was not possible since this code only checked for compiler-rt enabled via LLVM_ENABLED_PROJECTS. Reviewed By: thesamesam Differential Revision: https://reviews.llvm.org/D156388
-
Pravin Jagtap authored
Reviewed By: arsenm, #amdgpu Differential Revision: https://reviews.llvm.org/D156077
-
wangpc authored
The name is `isOrdered` but it's a string actually, which is a bit confusing. We change its type to `bit` and get the order string via its value. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D156306
-
Christopher Ferris authored
Modify all places that use the Options structure to be a const reference. The underlying structure is a u32 so making it a reference doesn't really do anything. However, if the structure changes in the future it already works and avoids future coders wondering why a structure is being passed by value. This also makes it clear that the Options should not be modified in those functions. Reviewed By: Chia-hungDuan Differential Revision: https://reviews.llvm.org/D156372
-