[PATCH] D114419: [XCOFF] change default program code csect alignment to 32

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 16 08:25:38 PST 2021


jsji added a comment.

Can you try adding a testcase for Os or Oz to see what happens? I suspect that this change might override the pref alignment settings in Lowering.

Also have you tried to gather the performance by changing `setPrefLoopAlignment(16)` to `setPrefLoopAlignment(32)` for AIX in PPCISelLowering.cpp?
I suspect most of the performance improvement you get should be from chanig loop alignment for *large* loops -- we only set inner most small loops to 32 for now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114419



More information about the llvm-commits mailing list