[PATCH] D148622: [LoongArch] Prefer to align functions and tight loops to 16 bytes

Lu Weining via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 18:24:28 PDT 2023


SixWeining added inline comments.


================
Comment at: llvm/lib/Target/LoongArch/LoongArchSubtarget.cpp:38
   ParseSubtargetFeatures(CPU, TuneCPU, FS);
+  initializeProperties();
   if (Is64Bit) {
----------------
Should we pass `CPU` or `TuneCPU` to this function and use it to set different numbers?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148622



More information about the llvm-commits mailing list