LLVM/project bac39f8llvm/test/CodeGen/RISCV rv32p.ll rv64p.ll

[RISCV] Add +zbb to scalar P extension tests. NFC

It's likely P will end up being dependent on Zbb and this improves
generated code.
DeltaFile
+3-4llvm/test/CodeGen/RISCV/rv32p.ll
+2-2llvm/test/CodeGen/RISCV/rv64p.ll
+5-62 files

LLVM/project 85ffbd0mlir/lib/Bindings/Python Rewrite.cpp DialectQuant.cpp

update signatures
DeltaFile
+40-84mlir/lib/Bindings/Python/Rewrite.cpp
+39-29mlir/lib/Bindings/Python/DialectQuant.cpp
+38-24mlir/lib/Bindings/Python/DialectLLVM.cpp
+23-17mlir/lib/Bindings/Python/DialectGPU.cpp
+16-16mlir/lib/Bindings/Python/DialectSparseTensor.cpp
+3-3mlir/lib/Bindings/Python/DialectSMT.cpp
+159-1732 files not shown
+163-1798 files

LLVM/project ad38972mlir/lib/Bindings/Python DialectQuant.cpp DialectLLVM.cpp, mlir/test/python/dialects pdl_types.py

[mlir][Python] port dialect extensions to use core PyConcreteType, PyConcreteAttribute
DeltaFile
+455-355mlir/lib/Bindings/Python/DialectQuant.cpp
+164-133mlir/lib/Bindings/Python/DialectLLVM.cpp
+154-112mlir/lib/Bindings/Python/DialectSparseTensor.cpp
+142-89mlir/lib/Bindings/Python/DialectTransform.cpp
+134-72mlir/lib/Bindings/Python/DialectPDL.cpp
+103-100mlir/test/python/dialects/pdl_types.py
+1,152-8615 files not shown
+1,419-1,01511 files

LLVM/project 31105c7mlir/examples/standalone/python StandaloneExtensionNanobind.cpp, mlir/include/mlir/Bindings/Python IRAttributes.h IRTypes.h

[mlir][Python] move IRTypes and IRAttributes to public headers
DeltaFile
+949-1,394mlir/lib/Bindings/Python/IRAttributes.cpp
+636-959mlir/lib/Bindings/Python/IRTypes.cpp
+593-0mlir/include/mlir/Bindings/Python/IRAttributes.h
+391-2mlir/include/mlir/Bindings/Python/IRTypes.h
+58-71mlir/test/python/lib/PythonTestModuleNanobind.cpp
+29-10mlir/examples/standalone/python/StandaloneExtensionNanobind.cpp
+2,656-2,4365 files not shown
+2,687-2,44111 files

LLVM/project b456039mlir/lib/Bindings/Python Rewrite.cpp DialectQuant.cpp

update signatures
DeltaFile
+40-84mlir/lib/Bindings/Python/Rewrite.cpp
+39-29mlir/lib/Bindings/Python/DialectQuant.cpp
+38-24mlir/lib/Bindings/Python/DialectLLVM.cpp
+23-17mlir/lib/Bindings/Python/DialectGPU.cpp
+16-16mlir/lib/Bindings/Python/DialectSparseTensor.cpp
+3-3mlir/lib/Bindings/Python/DialectSMT.cpp
+159-1732 files not shown
+163-1798 files

LLVM/project 1958423mlir/lib/Bindings/Python DialectQuant.cpp DialectLLVM.cpp, mlir/test/python/dialects pdl_types.py

[mlir][Python] port dialect extensions to use core PyConcreteType, PyConcreteAttribute
DeltaFile
+455-355mlir/lib/Bindings/Python/DialectQuant.cpp
+164-133mlir/lib/Bindings/Python/DialectLLVM.cpp
+154-112mlir/lib/Bindings/Python/DialectSparseTensor.cpp
+142-89mlir/lib/Bindings/Python/DialectTransform.cpp
+134-72mlir/lib/Bindings/Python/DialectPDL.cpp
+103-100mlir/test/python/dialects/pdl_types.py
+1,152-8615 files not shown
+1,419-1,01511 files

LLVM/project 0bef604mlir/examples/standalone/python StandaloneExtensionNanobind.cpp, mlir/include/mlir/Bindings/Python IRAttributes.h IRTypes.h

[mlir][Python] move IRTypes and IRAttributes to public headers
DeltaFile
+949-1,394mlir/lib/Bindings/Python/IRAttributes.cpp
+636-959mlir/lib/Bindings/Python/IRTypes.cpp
+593-0mlir/include/mlir/Bindings/Python/IRAttributes.h
+391-2mlir/include/mlir/Bindings/Python/IRTypes.h
+59-72mlir/test/python/lib/PythonTestModuleNanobind.cpp
+29-10mlir/examples/standalone/python/StandaloneExtensionNanobind.cpp
+2,657-2,4374 files not shown
+2,684-2,44210 files

LLVM/project 9481f0emlir/lib/Bindings/Python Rewrite.cpp DialectQuant.cpp

update signatures
DeltaFile
+40-84mlir/lib/Bindings/Python/Rewrite.cpp
+39-29mlir/lib/Bindings/Python/DialectQuant.cpp
+38-24mlir/lib/Bindings/Python/DialectLLVM.cpp
+23-17mlir/lib/Bindings/Python/DialectGPU.cpp
+16-16mlir/lib/Bindings/Python/DialectSparseTensor.cpp
+3-3mlir/lib/Bindings/Python/DialectSMT.cpp
+159-1732 files not shown
+163-1798 files

LLVM/project be486dbmlir/lib/Bindings/Python Rewrite.cpp DialectQuant.cpp

update signatures
DeltaFile
+40-84mlir/lib/Bindings/Python/Rewrite.cpp
+39-29mlir/lib/Bindings/Python/DialectQuant.cpp
+38-24mlir/lib/Bindings/Python/DialectLLVM.cpp
+23-17mlir/lib/Bindings/Python/DialectGPU.cpp
+16-16mlir/lib/Bindings/Python/DialectSparseTensor.cpp
+3-3mlir/lib/Bindings/Python/DialectSMT.cpp
+159-1731 files not shown
+161-1777 files

LLVM/project c97de43clang/test/CodeGenOpenCL builtins-amdgcn-gfx1250-wmma-w32.cl, llvm/lib/IR AutoUpgrade.cpp

Revert "[AMDGPU] add clamp immediate operand to WMMA iu8 intrinsic (#171069)" (#174303)

This reverts commit 2c376ffeca490a5732e4fd6e98e5351fcf6d692a because it
breaks assembler.

```
$ llvm-mc -triple=amdgcn -mcpu=gfx1250 -show-encoding <<< "v_wmma_i32_16x16x64_iu8 v[16:23], v[0:7], v[8:15], v[16:23] matrix_b_reuse"
  v_wmma_i32_16x16x64_iu8 v[16:23], v[0:7], v[8:15], v[16:23] clamp ; encoding: [0x10,0x80,0x72,0xcc,0x00,0x11,0x42,0x1c]
```

We have a fundamental issue in the clamp support in VOP3P instructions,
which will need more changes.
DeltaFile
+0-32llvm/lib/IR/AutoUpgrade.cpp
+12-12llvm/test/CodeGen/AMDGPU/wmma-coececution-valu-hazards.mir
+0-21llvm/test/Bitcode/amdgpu-wmma-iu8-clamp-upgrade.ll
+10-10llvm/test/CodeGen/AMDGPU/wmma-hazards-gfx1250-w32.mir
+7-11mlir/test/Target/LLVMIR/rocdl.mlir
+2-13clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250-wmma-w32.cl
+31-9915 files not shown
+61-17221 files

LLVM/project fac9472clang/test/Headers __clang_hip_math.hip, llvm/lib/IR Instructions.cpp

[IR] Reland Optimize PHINode::removeIncomingValue() and PHINode::removeIncomingValueIf() to use the swapping strategy. (#174274)

Reland #171963, #172639 and #173444, they are reverted in
86b9f90b9574b3a7d15d28a91f6316459dcfa046 because of introducing
non-determinism in compiles.
The non-determinism has been fixed in
9b8addffa70cee5b2acc5454712d9cf78ce45710.
DeltaFile
+81-88llvm/test/Transforms/DFAJumpThreading/dfa-unfold-select.ll
+22-22clang/test/Headers/__clang_hip_math.hip
+17-24llvm/lib/IR/Instructions.cpp
+18-18llvm/test/Transforms/LoopVectorize/single_early_exit_live_outs.ll
+15-17llvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-transform.ll
+12-12llvm/test/Transforms/SimplifyCFG/UnreachableEliminate.ll
+165-18167 files not shown
+319-34673 files

LLVM/project 0bdc00dclang/test/CodeGenOpenCL builtins-amdgcn-gfx1250-wmma-w32.cl, llvm/lib/IR AutoUpgrade.cpp

Revert "[AMDGPU] add clamp immediate operand to WMMA iu8 intrinsic (#171069)"

This reverts commit 2c376ffeca490a5732e4fd6e98e5351fcf6d692a because it breaks assembler.

```
$ llvm-mc -triple=amdgcn -mcpu=gfx1250 -show-encoding <<< "v_wmma_i32_16x16x64_iu8 v[16:23], v[0:7], v[8:15], v[16:23] matrix_b_reuse"
  v_wmma_i32_16x16x64_iu8 v[16:23], v[0:7], v[8:15], v[16:23] clamp ; encoding: [0x10,0x80,0x72,0xcc,0x00,0x11,0x42,0x1c]
```

We have a fundamental issue in the clamp support in VOP3P instructions, which will need more changes.
DeltaFile
+0-32llvm/lib/IR/AutoUpgrade.cpp
+12-12llvm/test/CodeGen/AMDGPU/wmma-coececution-valu-hazards.mir
+0-21llvm/test/Bitcode/amdgpu-wmma-iu8-clamp-upgrade.ll
+10-10llvm/test/CodeGen/AMDGPU/wmma-hazards-gfx1250-w32.mir
+7-11mlir/test/Target/LLVMIR/rocdl.mlir
+2-13clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250-wmma-w32.cl
+31-9915 files not shown
+61-17221 files

LLVM/project 5ef3456llvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVInstrInfoP.td, llvm/test/CodeGen/RISCV rv32p.ll

[RISCV] Support i32 SSHLAT for rv32ip. (#173687)

The rv32ip ssha instruction treats the lower byte of rs2 as a signed shift
amount. If the byte is positive, it is a saturating shift left. If the
byte is negative, it is an arithmetic shift right.

Because out of bounds shift amounts are poison in LLVM semantics, we
can assume the shift amount is a positive number and use ssha to
implement sshlsat.
DeltaFile
+34-0llvm/test/CodeGen/RISCV/rv32p.ll
+7-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+2-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+43-13 files

LLVM/project ce69dd3flang/lib/Semantics check-call.cpp, flang/test/Semantics cuf23.cuf

[flang][cuda] Fix false positive in host intrinsic with device var (#174300)

#174025 was too strict and make couple of downstream testing fail. Relax
the check to skip allowed intrinsics.
DeltaFile
+5-16flang/lib/Semantics/check-call.cpp
+5-0flang/test/Semantics/cuf23.cuf
+10-162 files

LLVM/project 610aeb6llvm/lib/Target/X86 X86AvoidStoreForwardingBlocks.cpp X86.h, llvm/test/CodeGen/X86 avoid-sfb-g-no-change.mir avoid-sfb-g-no-change2.mir

[X86][NewPM] Port x86-avoid-sfb to the New Pass Manager (#174166)

Similar refactoring, wire up, and test adjustments to other X86 pass
ports.
DeltaFile
+56-30llvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
+11-3llvm/lib/Target/X86/X86.h
+4-2llvm/test/CodeGen/X86/avoid-sfb-g-no-change.mir
+2-2llvm/lib/Target/X86/X86TargetMachine.cpp
+2-1llvm/test/CodeGen/X86/avoid-sfb-g-no-change2.mir
+2-1llvm/test/CodeGen/X86/avoid-sfb-kill-flags.mir
+77-393 files not shown
+82-429 files

LLVM/project 715716fllvm/lib/Transforms/Utils SimplifyCFG.cpp

[SimplifyCFG] Use nullptr instead of 0 in a comment. NFC (#174262)

DeltaFile
+2-2llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+2-21 files

LLVM/project 5a6f611llvm/test/CodeGen/SPIRV ga-interp-func-noninterp.ll ga-interp-func-interp.ll, llvm/test/CodeGen/SPIRV/hlsl-resources UniqueImplicitBindingNumber.ll

formatting

Created using spr 1.3.7
DeltaFile
+2-2llvm/utils/lit/lit/TestRunner.py
+0-1llvm/test/CodeGen/SPIRV/ga-interp-func-noninterp.ll
+0-1llvm/test/CodeGen/SPIRV/ga-interp-func-interp.ll
+0-1llvm/test/CodeGen/SPIRV/ga-noninterp-func-interp.ll
+0-1llvm/test/CodeGen/SPIRV/hlsl-resources/UniqueImplicitBindingNumber.ll
+2-65 files

LLVM/project df7786ellvm/test/CodeGen/SPIRV ga-interp-func-noninterp.ll ga-interp-func-interp.ll, llvm/test/CodeGen/SPIRV/hlsl-resources UniqueImplicitBindingNumber.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+0-1llvm/test/CodeGen/SPIRV/ga-interp-func-noninterp.ll
+0-1llvm/test/CodeGen/SPIRV/ga-interp-func-interp.ll
+0-1llvm/test/CodeGen/SPIRV/ga-noninterp-func-interp.ll
+0-1llvm/test/CodeGen/SPIRV/hlsl-resources/UniqueImplicitBindingNumber.ll
+0-44 files

LLVM/project 09fef69llvm/test/CodeGen/SPIRV ga-interp-func-interp.ll ga-interp-func-noninterp.ll, llvm/test/CodeGen/SPIRV/hlsl-resources UniqueImplicitBindingNumber.ll

feedback

Created using spr 1.3.7
DeltaFile
+0-1llvm/test/CodeGen/SPIRV/ga-interp-func-interp.ll
+0-1llvm/test/CodeGen/SPIRV/ga-interp-func-noninterp.ll
+0-1llvm/test/CodeGen/SPIRV/ga-noninterp-func-interp.ll
+0-1llvm/test/CodeGen/SPIRV/hlsl-resources/UniqueImplicitBindingNumber.ll
+0-44 files

LLVM/project 4153427llvm/test/CodeGen/SPIRV ga-interp-func-interp.ll ga-interp-func-noninterp.ll, llvm/test/CodeGen/SPIRV/hlsl-resources UniqueImplicitBindingNumber.ll

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+2-1llvm/test/CodeGen/SPIRV/hlsl-resources/UniqueImplicitBindingNumber.ll
+2-1llvm/test/CodeGen/SPIRV/ga-interp-func-interp.ll
+2-1llvm/test/CodeGen/SPIRV/ga-interp-func-noninterp.ll
+2-1llvm/test/CodeGen/SPIRV/ga-noninterp-func-interp.ll
+2-1llvm/test/Verifier/token1.ll
+1-1llvm/test/CodeGen/SPIRV/ga-inttoptr.ll
+11-66 files

LLVM/project 4b94ecdllvm/test/CodeGen/SPIRV ga-interp-func-interp.ll ga-interp-func-noninterp.ll, llvm/utils/lit/lit TestRunner.py

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+13-0llvm/utils/lit/tests/shtest-not-posix.py
+11-1llvm/utils/lit/lit/TestRunner.py
+8-0llvm/utils/lit/tests/Inputs/shtest-not-posix/lit.cfg
+6-0llvm/utils/lit/tests/Inputs/shtest-not-posix/fail-signal.py
+2-1llvm/test/CodeGen/SPIRV/ga-interp-func-interp.ll
+2-1llvm/test/CodeGen/SPIRV/ga-interp-func-noninterp.ll
+42-36 files not shown
+55-712 files

LLVM/project 1284697llvm/test/CodeGen/SPIRV ga-interp-func-interp.ll ga-interp-func-noninterp.ll, llvm/test/CodeGen/SPIRV/hlsl-resources UniqueImplicitBindingNumber.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+2-1llvm/test/CodeGen/SPIRV/ga-interp-func-interp.ll
+2-1llvm/test/CodeGen/SPIRV/ga-interp-func-noninterp.ll
+2-1llvm/test/CodeGen/SPIRV/ga-noninterp-func-interp.ll
+2-1llvm/test/CodeGen/SPIRV/hlsl-resources/UniqueImplicitBindingNumber.ll
+2-1llvm/test/Verifier/token1.ll
+1-1llvm/test/CodeGen/SPIRV/ga-inttoptr.ll
+11-66 files

LLVM/project 7356a14llvm/test/Verifier token1.ll

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+2-1llvm/test/Verifier/token1.ll
+2-11 files

LLVM/project dcb33b1llvm/test/Verifier token1.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+2-1llvm/test/Verifier/token1.ll
+2-11 files

LLVM/project d22ba4ellvm/test/Verifier tokenlike1-without-asserts.ll tokenlike1.ll

[Verifier] Rename test

This test has nothing to do with/without assertions after
0aa519b1ea89ec50c154cd89915f70573f1a1244.
DeltaFile
+0-11llvm/test/Verifier/tokenlike1-without-asserts.ll
+11-0llvm/test/Verifier/tokenlike1.ll
+11-112 files

LLVM/project 3f5ee8allvm/lib/Transforms/Vectorize VPlanUtils.cpp

[VPlan] Handle VPInstruction::Not in getSCEVExprForVPValue (NFC).

https://alive2.llvm.org/ce/z/jpLaJX
DeltaFile
+6-0llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+6-01 files

LLVM/project 108a22ellvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor nofpclass.ll

Revert "ValueTracking: Improve handling of fadd in computeKnownFPClass." (#174290)

Reverts llvm/llvm-project#174123

This caused test failures within LLVM libc. They can be reproduced by
doing a libc build against a clang with this commit included and running
`ninja -k 0 libc.test.src.math.smoke.log1p_test.__unit__
libc.test.src.math.smoke.log1p_test.__unit__.__NO_FMA_OPT`.
DeltaFile
+25-25llvm/test/Transforms/Attributor/nofpclass.ll
+4-24llvm/lib/Analysis/ValueTracking.cpp
+29-492 files

LLVM/project f985e1allvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 copyable-non-inst-in-stores.ll

[SLP]Better copyable vectorization for stores with non-instructions (#174249)

DeltaFile
+18-15llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+4-15llvm/test/Transforms/SLPVectorizer/X86/copyable-non-inst-in-stores.ll
+22-302 files

LLVM/project bbf3c77llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor nofpclass.ll

Revert "ValueTracking: Improve handling of fadd in computeKnownFPClass. (#174…"

This reverts commit 5cbc6a63a19955b5f6fd3f62da8673893abaef9d.
DeltaFile
+25-25llvm/test/Transforms/Attributor/nofpclass.ll
+4-24llvm/lib/Analysis/ValueTracking.cpp
+29-492 files

LLVM/project f270256llvm/include/llvm/CodeGen TileShapeInfo.h, llvm/lib/Target/X86 X86TileConfig.cpp

[X86] Avoid assertion failure with implicit immediates for AMX tile dimensions (#174128)

https://github.com/llvm/llvm-project/pull/165556 removed support for
implicit immediates in
`llvm/include/llvm/CodeGen/TileShapeInfo.h/.cpp`. Although implicit
immediates are generally not valid tile dimensions, it is undesirable to
have assertion failures in syntactically valid code; moreover, implicit
immediates (especially zero) are commonly encountered when reducing test
cases.

This patch restores the support for implicit immediates.

Fixes: https://github.com/llvm/llvm-project/issues/174127
DeltaFile
+8-1llvm/include/llvm/CodeGen/TileShapeInfo.h
+8-1llvm/lib/Target/X86/X86TileConfig.cpp
+16-22 files