[clang] [llvm] [AArch64] Support preserve_none calling convention (PR #91046)

Daniel Kiss via llvm-commits llvm-commits at lists.llvm.org
Fri May 31 01:15:23 PDT 2024


================
@@ -7949,9 +7966,10 @@ AArch64TargetLowering::LowerCall(CallLoweringInfo &CLI,
       ++NumTailCalls;
   }
 
-  if (!IsTailCall && CLI.CB && CLI.CB->isMustTailCall())
+  if (!IsTailCall && CLI.CB && CLI.CB->isMustTailCall()) {
----------------
DanielKristofKiss wrote:

if with 1 statement doesn't need braces.

https://github.com/llvm/llvm-project/pull/91046


More information about the llvm-commits mailing list