[llvm] [ExtendLifetimes] Implement llvm.fake.use to extend variable lifetimes (PR #86149)

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 12:09:40 PDT 2024


================
@@ -1739,6 +1754,7 @@ void AsmPrinter::emitFunctionBody() {
   bool HasAnyRealCode = false;
   int NumInstsInFunction = 0;
   bool IsEHa = MMI->getModule()->getModuleFlag("eh-asynch");
+  const TargetInstrInfo *TII = MF->getSubtarget().getInstrInfo();
----------------
igorkudrin wrote:

With recent updates, this can be removed.

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


More information about the llvm-commits mailing list