================
@@ -330,6 +325,18 @@ bool MachineFunction::shouldSplitStack() const {
return getFunction().hasFnAttribute("split-stack");
}
+Align MachineFunction::getPreferredAlignment() const {
+ Align PrefAlignment = Align(1);
----------------
MaskRay wrote:
Instead of reassigning to the variable multiple times, it's better to reverse
the order the following two conditions
https://github.com/llvm/llvm-project/pull/155529
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits