[PATCH] D80485: [DAGCombiner][PowerPC] Remove isMulhCheaperThanMulShift TLI hook. Use isOperationLegalOrCustom directly instead.

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 13 10:40:07 PDT 2020


amyk updated this revision to Diff 297904.
amyk retitled this revision from "[DAGCombiner][PowerPC][AArch64] Remove isMulhCheaperThanMulShift TLI hook. Use isOperationLegal directly instead." to "[DAGCombiner][PowerPC] Remove isMulhCheaperThanMulShift TLI hook. Use isOperationLegalOrCustom directly instead.".
amyk edited the summary of this revision.
amyk added a comment.

- Update the patch with the latest master.
- Remove `isMulhCheaperThanMulShift` TLI Hook from all code segments.
- Update `test/CodeGen/X86/pmulh.ll`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80485/new/

https://reviews.llvm.org/D80485

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/X86/pmulh.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80485.297904.patch
Type: text/x-patch
Size: 5355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201013/67c7d4a5/attachment.bin>


More information about the llvm-commits mailing list