[PATCH] D88539: [PowerPC] Handle the constant with many trailing ones.

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 10 01:22:33 PDT 2020


steven.zhang added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:906
 
 // Select a 64-bit constant. For cost-modeling purposes, selectI64ImmInstrCount
 // (above) needs to be kept in sync with this function.
----------------
selectI64ImmInstrCount need to be updated to return 2 for your pattern.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88539



More information about the llvm-commits mailing list