- Aug 03, 2023
-
-
Benjamin Kramer authored
-
Rainer Orth authored
Solaris 12 was re-christened as Solaris 11.4 while still in beta, so all references are long obsolete and can be removed. Tested on `amd64-pc-solaris2.11`. Differential Revision: https://reviews.llvm.org/D156861
-
Christian Ulmann authored
This commit adds a DIModuleAttr to the set of debug info attributes and extends the LLVM IR import and export to support it. DIModule metadata is missing in the LLVM LangRef and cannot be produced from C or C++ input. So far, we only observed classic flang producing such DI metadata. Reviewed By: zero9178 Differential Revision: https://reviews.llvm.org/D156969
-
Mel Chen authored
Regarding this NFC change, please refer to the discussion in this thread. https://reviews.llvm.org/D150851#4467261 Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D155786
-
Jim Lin authored
It has been added in extractelt-int-rv32.ll.
-
Michael Platings authored
Since D156363 this test has been failing with -Wmissing-multilib if multilib is configured for the BareMetal toolchain. By setting sysroot the test is more hermetic and the failure is avoided.
-
Kazu Hirata authored
The declaration was added without a corresponding function definition by: commit c181f21a Author: Andrzej Warzynski <andrzej.warzynski@arm.com> Date: Wed Oct 19 17:04:31 2022 +0000
-
Johannes Doerfert authored
-
Johannes Doerfert authored
If we do not have exlusion blocks and the target is live, we only need to reach a dominating block.
-
Johannes Doerfert authored
-
Johannes Doerfert authored
If we cannot reach the target from the entry of a function without exclusion set, we cannot reach it at all. This can allow us to filter unique queries based on a uniform one.
-
Aleksandr Popov authored
After 28a91473 we don't use eliminateInstrViaWidening with InvertCondition = false. Therefore all related code is dead. Reviewed By: DaniilSuchkov Differential Revision: https://reviews.llvm.org/D156908
-
Martin Braenne authored
`build()` guarantees that we'll always have a `Decl`, so we can simplify the code. Reviewed By: ymandel, xazax.hun Differential Revision: https://reviews.llvm.org/D156859
-
Yeting Kuo authored
Previously we used the number of registers needed saved and pushable as the number of pushed registers. We also use pushed register number to caculate the stack size. It is not correct because Zcmp pushes registers from $ra to the max register needed saved and there is no gurantee that the needed saved registers are a sequenced list from $ra. There is an example about that. PushPopRegs should be 6 (ra,s0 - s4)= instead of 1. ``` ; llc -mtriple=riscv32 -mattr=+zcmp define void @foo() { entry: ; Old: .cfi_def_cfa_offset 16 ; New: .cfi_def_cfa_offset 32 tail call void asm sideeffect "li s4, 0", "~{s4}"() ret void } ``` Reviewed By: Jim, kito-cheng Differential Revision: https://reviews.llvm.org/D156407 -
Fabio D'Urso authored
This reverts commit 30b11b0e. We've found and fixed another failing test. Reviewed By: Caslyn Differential Revision: https://reviews.llvm.org/D156938
-
Mehdi Amini authored
Leaving this field unitialized could led to crashes when it'll diverge from the IRNumbering phase. Differential Revision: https://reviews.llvm.org/D156965
-
Alex Bradbury authored
This doesn't bring us to parity with the test/CodeGen/RISCV/half-* test cases, it simply picks off an initial set that can be supported especially easy. In order to make the review more manageable, I'll follow up with other cases. There is zero innovation in the test cases - they simply take the existing half/float cases and replace f16->bf16 and half->bfloat. Differential Revision: https://reviews.llvm.org/D156895
-
Vitaly Buka authored
-
Wenju He authored
No new lits are added since addToFrontier is only used in MachineDominanceFrontier::addToFrontier. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D155417
-
Bing1 Yu authored
Reviewed By: pengfei Differential Revision: https://reviews.llvm.org/D155863
-
Vitaly Buka authored
-
Owen Pan authored
Fixes #64229. Differential Revision: https://reviews.llvm.org/D156655
-
LLVM GN Syncbot authored
-
Sameer Sahasrabuddhe authored
The refactored template can now be used with MachineVerifier. Resubmitted after fixing build errors: - Shared libraries build failed with undefined references due to "extern template" declarations. - Modules build failed due to a cycle dependence between llvm/ADT and llvm/IR. The Generic*Impl.h files should be in llvm/IR to prevent this. Differential Revision: https://reviews.llvm.org/D156522 This restores commit 93a37067. Originally reverted in 466bd998.
-
Jim Lin authored
isOperationLegalOrCustomOrPromote returns true only if VT is other or legal and operation action is Legal, Custom or Promote. Permit a vector binary operation can be converted to scalar binary operation which is custom lowered with illegal type. One of cases is i32 isn't a legal type on RV64 and its ALU operations is set to custom lowering, so vadd for element type i32 can be converted to addw. Reviewed By: jacquesguan, craig.topper Differential Revision: https://reviews.llvm.org/D156692
-
dingfei authored
Delay consuming tokens until we are certain that the next token is not top level block. Otherwise we bail out as if we saw an @end for better diagnostic and recovery. Fixes https://github.com/llvm/llvm-project/issues/64065. Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D156277.
-
Valentin Clement authored
Enforce the following restriction specified in 2.13 A var may appear at most once in all the clauses of declare directives for a function, subroutine, program, or module. Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D156945
-
Valentin Clement authored
Lower the deviceptr clause for the OpenACC declare directive. Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D156828
-
Joshua Batista authored
This change exposes the reversebits library function for HLSL, excluding floating point types. The reversebits function is supported for all scalar, vector, and matrix types. The full documentation of the HLSL reversebits function is available here: https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/reversebits Reviewed By: python3kgae Differential Revision: https://reviews.llvm.org/D156933
-
Mel Chen authored
-
Craig Topper authored
fp-imm.ll and zfh-imm.ll test 0.0 and -0.0 while float/double/half-imm.ll tested other non-zero constants. It seems like they should all be tested together. There are slight coverage changes due to different command lines, but I'm not sure its meaningful. For example, we now don't test double 0.0 and -0.0 with only the F extension. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D156929
-
Yeting Kuo authored
D155929 teach lowerScalarInsert to handl start value (extractelement scalable_vector, 0) and specifically converts fixed extracted vectors to scalable vectors when lowering vector reduction. It's not enough because there is another way to create (extractelement fixed_vector, 0) as a start value of lowerScalarInsert like #64327. #64327: https://github.com/llvm/llvm-project/issues/64327. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D156863
-
Phoebe Wang authored
Fixes #64322 Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D156855
-
Roland McGrath authored
The Fuchsia zxtest library has ASSERT_DEATH but not EXPECT_DEATH. The latter may be added in the future, but for now just use the former as substitute. Reviewed By: abrachet Differential Revision: https://reviews.llvm.org/D156940
-
Jerry Wu authored
This op is the batched version of linalg.mmt4d. It performs matrix-matrix-transpose multiplication of batched 4-d (5d) inputs as the following: ``` C[b, m1, n1, m0, n0] = sum_{b, k1, k0}(A[b, m1, k1, m0, k0] * B[b, n1, k1, n0, k0]) ``` The current use is to provide `linalg.batch_matmul` a lowering path similar to `linalg.matmul -> linalg.mmt4d`. Differential Revision: https://reviews.llvm.org/D156912 -
Luke Lau authored
This patch adds patterns for the existing riscv_shl_vl VL node. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D156915
-
Peiming Liu authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D156941
-
Kai Luo authored
We haven't supported JIT on AIX yet. Fix AIX buildbot failure in https://lab.llvm.org/buildbot/#/builders/214/builds/8770. Reviewed By: Jake-Egan Differential Revision: https://reviews.llvm.org/D156921
-
Valentin Clement authored
Lower the copyout clause for the OpenACC declare directive Depends on D156738 Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D156824
-
Valentin Clement authored
The OpenACC 3.3 specification does not allow the `zero` modifier on the `copyout` clause used with the declare directive. This is similar to D156703 for the create clause. This might be missing piece in the spec but we disallow it until proven otherwise. Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D156825
-