FailedChanges

Summary

  1. [SimpleLoopUnswitch] Preserve make.implicit in non-trivial unswitch if legal (details)
  2. [X86] Remove x86_sse42_crc32_64_64 from X86TTIImpl::simplifyDemandedUseBitsIntrinsic (details)
Commit 8aaeee5fb6d7c513d065e55b4bc2ad39bd6e760a by mkazantsev
[SimpleLoopUnswitch] Preserve make.implicit in non-trivial unswitch if legal

We can preserve make.implicit metadata in the split block if it is
guaranteed that after following the branch we always reach the block
where processing of null case happens, which is equivalent to
"initial condition must execute if the loop is entered".

Differential Revision: https://reviews.llvm.org/D84925
Reviewed By: asbirlea
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/implicit-null-checks.ll
Commit 30a0dbb70d9e0c94a9bdc3d28e7c1c57d9891912 by craig.topper
[X86] Remove x86_sse42_crc32_64_64 from X86TTIImpl::simplifyDemandedUseBitsIntrinsic

It doesn't do any simplifying. It just computes known bits. We
can just let InstCombine call computeKnownBits which will handle
this just as well.
The file was modifiedllvm/lib/Target/X86/X86InstCombineIntrinsic.cpp