[clang] [ExtendLifetimes] Add extend lifetimes to emit fake uses from clang (PR #106724)

Paul T Robinson via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 30 09:32:44 PDT 2024


================
@@ -2543,6 +2543,10 @@ void CodeGenModule::ConstructAttributeList(StringRef Name,
     if (shouldDisableTailCalls())
       FuncAttrs.addAttribute("disable-tail-calls", "true");
 
+    // Suppress the machine instruction scheduler when -fextend-lifetimes is on.
+    if (CodeGenOpts.ExtendLifetimes)
----------------
pogo59 wrote:

Also -fextend-this-ptr? 

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


More information about the cfe-commits mailing list