[llvm] Port gisel cse analysis to npm (PR #179815)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 15 19:12:04 PST 2026


================
@@ -445,6 +445,19 @@ GISelCSEAnalysisWrapper::get(std::unique_ptr<CSEConfigBase> CSEOpt,
   }
   return Info;
 }
+
+AnalysisKey GISelCSEAnalysis::Key;
+
+GISelCSEAnalysis::Result
+GISelCSEAnalysis::run(MachineFunction &MF, MachineFunctionAnalysisManager &) {
+  auto Info = std::make_unique<GISelCSEInfo>();
----------------
boomanaiden154 wrote:

Wouldn't hurt to spell out the type here.

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


More information about the llvm-commits mailing list