[NFC] Add missing llvm:: specifier
authorScott Linder <Scott.Linder@amd.com>
Mon, 23 Jan 2023 23:50:44 +0000 (23:50 +0000)
committerScott Linder <Scott.Linder@amd.com>
Mon, 23 Jan 2023 23:51:06 +0000 (23:51 +0000)
This was omitted in 25c0ea2a5370813f46686918a84e0de27e107d08

flang/lib/Frontend/FrontendActions.cpp

index ea8131e..64641b7 100644 (file)
@@ -587,7 +587,7 @@ void CodeGenAction::setUpTargetMachine() {
   // Create `TargetMachine`
   const auto &CGOpts = ci.getInvocation().getCodeGenOpts();
   std::optional<llvm::CodeGenOpt::Level> OptLevelOrNone =
-      CodeGenOpt::getLevel(CGOpts.OptimizationLevel);
+      llvm::CodeGenOpt::getLevel(CGOpts.OptimizationLevel);
   assert(OptLevelOrNone && "Invalid optimization level!");
   llvm::CodeGenOpt::Level OptLevel = *OptLevelOrNone;
   std::string featuresStr = llvm::join(targetOpts.featuresAsWritten.begin(),