FailedChanges

Summary

  1. [PowerPC] Fix missing TLS symbol type. (details)
  2. [MemCpyOptimizer] Change required analysis order for BasicAA/PhiValuesAnalysis (details)
  3. [X86][AVX] Test SSE41 BLENDV combines on AVX targets as well (details)
  4. [X86][SSE] Add PR47404 test case (details)
  5. [GVN] Preserve MemorySSA if it is available. (details)
  6. [Test] Add test showing some simple cases that IndVarSimplify does not cover (details)
  7. [NFC][RISCV] Simplify pass arg of RISCVMergeBaseOffsetOpt (details)
  8. [X86][SSE] Fold select(X > -1, A, B) -> select(0 > X, B, A) (PR47404) (details)
Commit f4f29b956c628dc5029345c97d11c8d198657f87 by stefanp
[PowerPC] Fix missing TLS symbol type.

Previous implementations for the TLS models General Dynamic and Initial Exec
were missing the ELF::STT_TLS type on symbols that required the type. This patch
adds the type.

Reviewed By: sfertile, MaskRay

Differential Revision: https://reviews.llvm.org/D86777
The file was modifiedllvm/test/CodeGen/PowerPC/pcrel-tls-initial-exec.ll
The file was modifiedllvm/lib/MC/MCELFStreamer.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/pcrel-tls-general-dynamic.ll
Commit 245f846c4eaf7142000f6548889a3aafb84db149 by david.green
[MemCpyOptimizer] Change required analysis order for BasicAA/PhiValuesAnalysis

This is a followup to 1ccfb52a61748, which made a number of changes
including the apparently innocuous reordering of required passes in
MemCpyOptimizer. This however altered the creation order of BasicAA vs
Phi Values analysis, meaning BasicAA did not pick up PhiValues as a
cached result. Instead if we require MemoryDependence first it will
require PhiValuesAnalysis allowing BasicAA to use it for better results.

I don't claim this is an excellent design, but it fixes a nasty little
regressions where a query later in JumpThreading was getting worse
results.

Differential Revision: https://reviews.llvm.org/D87027
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/opt-pipeline.ll
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was modifiedllvm/test/Other/opt-O3-pipeline-enable-matrix.ll
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
Commit 1d442415a30ef3be0e6ee189bce8795f203e712f by llvm-dev
[X86][AVX] Test SSE41 BLENDV combines on AVX targets as well

Show up any differences due to SSE41 variant being locked to use xmm0
The file was modifiedllvm/test/CodeGen/X86/combine-sse41-intrinsics.ll
Commit ca860dc57732fd1cd745403461b9d0d80fe571c4 by llvm-dev
[X86][SSE] Add PR47404 test case
The file was modifiedllvm/test/CodeGen/X86/combine-sse41-intrinsics.ll
Commit a344b382a0f64922c22a4ad048aca925a784942a by flo
[GVN] Preserve MemorySSA if it is available.

Preserve MemorySSA if it is available before running GVN.

DSE with MemorySSA will run closely after GVN. If GVN and 2 other
passes preserve MemorySSA, DSE can re-use MemorySSA used by LICM
when doing LTO.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D86534
The file was modifiedllvm/include/llvm/Transforms/Scalar/GVN.h
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
The file was addedllvm/test/Transforms/GVN/preserve-memoryssa.ll
Commit 159f9a69b4bb4ee36a69c0dcb276fb2b533cbda2 by mkazantsev
[Test] Add test showing some simple cases that IndVarSimplify does not cover
The file was addedllvm/test/Transforms/IndVarSimplify/monotonic_checks.ll
Commit c5716447c14fed608b107cbc732a80b4528ae21a by powerman1st
[NFC][RISCV] Simplify pass arg of RISCVMergeBaseOffsetOpt

Reviewed By: lenary, asb

Differential Revision: https://reviews.llvm.org/D87069
The file was modifiedllvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
Commit e56edb801bbd41925dbaca39162731613fb289f4 by llvm-dev
[X86][SSE] Fold select(X > -1, A, B) -> select(0 > X, B, A) (PR47404)

Help PBLENDVB peek through to the sign bit source of the selection mask by swapping the select condition and inputs.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/combine-sse41-intrinsics.ll