[llvm] [LLVM] Add HasFakeUses to MachineFunction (PR #110097)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 01:34:04 PDT 2024


================
@@ -200,12 +201,16 @@ void FunctionLoweringInfo::set(const Function &fn, MachineFunction &mf,
             }
           }
         }
-        // Look for calls to the @llvm.va_start intrinsic. We can omit some
-        // prologue boilerplate for variadic functions that don't examine their
-        // arguments.
         if (const auto *II = dyn_cast<IntrinsicInst>(&I)) {
+          // Look for calls to the @llvm.va_start intrinsic. We can omit some
+          // prologue boilerplate for variadic functions that don't examine
+          // their arguments.
----------------
arsenm wrote:

Turn this into a switch over the ID? 

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


More information about the llvm-commits mailing list