[flang-commits] [flang] 010a10b - [flang][NFC] Remove extra braces
Valentin Clement via flang-commits
flang-commits at lists.llvm.org
Thu Jan 20 06:19:42 PST 2022
Author: Valentin Clement
Date: 2022-01-20T15:18:59+01:00
New Revision: 010a10b738915568d9d04d1f0caa09b5d25dc7b3
URL: https://github.com/llvm/llvm-project/commit/010a10b738915568d9d04d1f0caa09b5d25dc7b3
DIFF: https://github.com/llvm/llvm-project/commit/010a10b738915568d9d04d1f0caa09b5d25dc7b3.diff
LOG: [flang][NFC] Remove extra braces
Noticed during the upstreaming process.
Added:
Modified:
flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
Removed:
################################################################################
diff --git a/flang/lib/Optimizer/CodeGen/TargetRewrite.cpp b/flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
index 1e671dbb72093..f5616d21d1340 100644
--- a/flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
+++ b/flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
@@ -76,9 +76,8 @@ class TargetRewrite : public TargetRewriteBase<TargetRewrite> {
mlir::OpBuilder rewriter(&context);
auto mod = getModule();
- if (!forcedTargetTriple.empty()) {
+ if (!forcedTargetTriple.empty())
setTargetTriple(mod, forcedTargetTriple);
- }
auto specifics = CodeGenSpecifics::get(getOperation().getContext(),
getTargetTriple(getOperation()),
More information about the flang-commits
mailing list