================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to