projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9e778d
)
[NFC] Add missing llvm:: specifier
author
Scott Linder
<Scott.Linder@amd.com>
Mon, 23 Jan 2023 23:50:44 +0000
(23:50 +0000)
committer
Scott 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
patch
|
blob
|
history
diff --git
a/flang/lib/Frontend/FrontendActions.cpp
b/flang/lib/Frontend/FrontendActions.cpp
index
ea8131e
..
64641b7
100644
(file)
--- a/
flang/lib/Frontend/FrontendActions.cpp
+++ b/
flang/lib/Frontend/FrontendActions.cpp
@@
-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(),