[PATCH] D113845: [X86] getAVX512Node() - find constant broadcasts to encourage load-folding

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 14 22:38:49 PST 2021


pengfei added inline comments.


================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:46230
+  unsigned EltSizeInBits = VT.getScalarSizeInBits();
+  if (!VT.isVector() || (EltSizeInBits % 8) != 0)
     return SDValue();
----------------
Can we handle no-pow-2 type?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113845



More information about the llvm-commits mailing list