[PATCH] D111546: [X86][LV] X86 does *not* prefer vectorized addressing

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 13 13:13:49 PDT 2021


RKSimon added inline comments.


================
Comment at: llvm/lib/Target/X86/X86TargetTransformInfo.h:245
+  bool LSRWithInstrQueries() { return true; }
+  bool supportsEfficientVectorElementLoadStore();
   bool enableInterleavedAccessVectorization();
----------------
How come none of these are const methods?


================
Comment at: llvm/lib/Target/X86/X86TargetTransformInfo.h:249
 private:
+  bool supportsGather();
   InstructionCost getGSScalarCost(unsigned Opcode, Type *DataTy,
----------------
const?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111546



More information about the llvm-commits mailing list