SuccessChanges

Summary

  1. [PowerPC] Handle STRICT_FSETCC(S) in more cases (details)
  2. GlobalISel: Implement computeKnownBits for G_BSWAP and G_BITREVERSE (details)
  3. GlobalISel: Port smarter known bits for umin/umax from DAG (details)
  4. GlobalISel: Implement computeNumSignBits for G_SELECT (details)
Commit 29ae4485950ed76faa94dabbd13bbe91d2b5c750 by qiucofan
[PowerPC] Handle STRICT_FSETCC(S) in more cases

On -O0, i1 strict_fsetcc will be promoted to i32. We don't handle that
in TD patterns. This patch fills logic in PPCISelDAGToDAG to handle more
cases.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D86595
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp (diff)
The file was addedllvm/test/CodeGen/PowerPC/fp-strict-fcmp-noopt.ll
Commit 759482ddaa5eead883ed59a26af2f1dc66a6d4d1 by Matthew.Arsenault
GlobalISel: Implement computeKnownBits for G_BSWAP and G_BITREVERSE
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (diff)
The file was modifiedllvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp (diff)
The file was modifiedllvm/include/llvm/Support/KnownBits.h (diff)
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp (diff)
Commit 35c94d3f7e577d22ade48eaf73e6d1451c27f8b2 by Matthew.Arsenault
GlobalISel: Port smarter known bits for umin/umax from DAG
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizercombiner-and.mir (diff)
The file was modifiedllvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp (diff)
Commit 32a8a10b429809bcd14ff7f409988afbe962f0d4 by Matthew.Arsenault
GlobalISel: Implement computeNumSignBits for G_SELECT
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-sext-inreg.mir (diff)
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h (diff)