FailedChanges

Summary

  1. libclc/spirv: Add various functions (details)
  2. [LoopLoadElim] Filter away candidates that stop being AddRecs after loop versioning. PR47457 (details)
Commit 060c8e083dd637866854acb6a0823c45b2ef68ef by jano.vesely
libclc/spirv: Add various functions

Adds fma,fmod,ldexp.

Reviewer: jenatali jvesely

Differential Revision: https://reviews.llvm.org/D85911
The file was modifiedlibclc/spirv64/lib/SOURCES (diff)
The file was modifiedlibclc/spirv/lib/SOURCES (diff)
Commit c413a8a8ecd3c0ef7bcb08525fd73eb1392a738c by mkazantsev
[LoopLoadElim] Filter away candidates that stop being AddRecs after loop versioning. PR47457

The test in PR47457 demonstrates a situation when candidate load's pointer's SCEV
is no loger a SCEVAddRec after loop versioning. The code there assumes that it is
always a SCEVAddRec and crashes otherwise.

This patch makes sure that we do not consider candidates for which this requirement
is broken after the versioning.

Differential Revision: https://reviews.llvm.org/D87355
Reviewed By: asbirlea
The file was modifiedllvm/lib/Transforms/Scalar/LoopLoadElimination.cpp (diff)
The file was modifiedllvm/test/Transforms/LoopLoadElim/pr47457.ll (diff)