[llvm-branch-commits] [llvm] CodeGen: Remove TargetOptions::LoopAlignment (PR #223148)
Fangrui Song via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Sep 12 10:57:08 PDT 2026
================
@@ -2905,7 +2905,8 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
MaxLoadsPerMemcmp = 2;
MaxLoadsPerMemcmpOptSize = 2;
- // Default loop alignment, which can be overridden by -align-loops.
+ // Default loop alignment, which can be overridden by llvm.loop.align
----------------
MaskRay wrote:
They take the max, so "raised by", not "overridden".
https://github.com/llvm/llvm-project/pull/71026 `const Align LoopAlign = std::max(TLIAlign, Align(MDAlign));`
https://github.com/llvm/llvm-project/pull/223148
More information about the llvm-branch-commits
mailing list