FailedChanges

Summary

  1. [AArch64][GlobalISel] Add post-legalize combine for sext_inreg(trunc(sextload)) -> copy (details)
  2. [PowerPC][Power10] Implement Test LSB by Byte Builtins in LLVM/Clang (details)
  3. [AMDGPU] Propagate dead flag during pre-RA exec mask optimizations (details)
Commit 64eb3a4915f00cca9af4c305a9ff36209003cd7b by Amara Emerson
[AArch64][GlobalISel] Add post-legalize combine for sext_inreg(trunc(sextload)) -> copy

On AArch64 we generate redundant G_SEXTs or G_SEXT_INREGs because of this.

Differential Revision: https://reviews.llvm.org/D81993
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/combine-sext-trunc-sextload.mir
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
Commit 62f5ba624bfba5ccf4446737ad2bfb1fc013b376 by amy.kwan1
[PowerPC][Power10] Implement Test LSB by Byte Builtins in LLVM/Clang

This patch implements builtins for the Test LSB by Byte instruction introduced
in Power10.

Differential Revision: https://reviews.llvm.org/D82431
The file was modifiedllvm/include/llvm/IR/IntrinsicsPowerPC.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrPrefix.td
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def
The file was modifiedclang/lib/Headers/altivec.h
The file was addedllvm/test/CodeGen/PowerPC/builtins-ppc-p10vsx.ll
The file was modifiedclang/test/CodeGen/builtins-ppc-p10vector.c
Commit 74c14202d90b46dda64a2542602855727b7d7f60 by carl.ritson
[AMDGPU] Propagate dead flag during pre-RA exec mask optimizations

Preserve SCC dead flags in SIOptimizeExecMaskingPreRA.
This helps with removing redundant s_andn2 instructions later.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D83637
The file was modifiedllvm/test/CodeGen/AMDGPU/optimize-negated-cond-exec-masking.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/optimize-negated-cond-exec-masking-wave32.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/optimize-exec-masking-pre-ra.mir