SuccessChanges

Summary

  1. [X86] Update commutable EVEX vcmp patterns to use timm instead of imm. We need to match TargetConstant, not Constant. This was broken in r372338, but we lacked test coverage.
  2. [X86] Add more tests for commuting evex vcmp instructions during isel to fold a load. Some of the isel patterns were not updated to check for TargetConstant instead of Constant in r372338.
  3. [SelectionDAG] computeKnownBits/ComputeNumSignBits - cleanup demanded/unknown paths. NFCI. Merge the calls, just adjust the demandedelts if we have a valid extract_subvector constant index, else demand all elts.
  4. [XRay] Silence static analyzer dyn_cast<BufferExtents> null dereference warning. NFCI.
Revision 372523 by ctopper:
[X86] Update commutable EVEX vcmp patterns to use timm instead of imm.

We need to match TargetConstant, not Constant. This was broken
in r372338, but we lacked test coverage.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86InstrAVX512.td (diff)llvm.src/lib/Target/X86/X86InstrAVX512.td
The file was modified/llvm/trunk/test/CodeGen/X86/avx512-vec-cmp.ll (diff)llvm.src/test/CodeGen/X86/avx512-vec-cmp.ll
The file was modified/llvm/trunk/test/CodeGen/X86/commute-fcmp.ll (diff)llvm.src/test/CodeGen/X86/commute-fcmp.ll
Revision 372522 by ctopper:
[X86] Add more tests for commuting evex vcmp instructions during isel to fold a load.

Some of the isel patterns were not updated to check for
TargetConstant instead of Constant in r372338.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/avx512-vec-cmp.ll (diff)llvm.src/test/CodeGen/X86/avx512-vec-cmp.ll
The file was modified/llvm/trunk/test/CodeGen/X86/commute-fcmp.ll (diff)llvm.src/test/CodeGen/X86/commute-fcmp.ll
Revision 372521 by rksimon:
[SelectionDAG] computeKnownBits/ComputeNumSignBits - cleanup demanded/unknown paths. NFCI.

Merge the calls, just adjust the demandedelts if we have a valid extract_subvector constant index, else demand all elts.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Revision 372520 by rksimon:
[XRay] Silence static analyzer dyn_cast<BufferExtents> null dereference warning. NFCI.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/XRay/FDRRecordProducer.cpp (diff)llvm.src/lib/XRay/FDRRecordProducer.cpp