Skip to content

Commit

Permalink
[flang][NFC] Remove old RTBuilder.h
Browse files Browse the repository at this point in the history
RTBuilder.h has been moved in `flang/Optimizer/Builder/Runtime/RTBuilder.h`.
This duplicate is not necessary anymore.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D121317
  • Loading branch information
clementval committed Mar 9, 2022
1 parent 5105c7c commit 1b3fd28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 289 deletions.
287 changes: 0 additions & 287 deletions flang/lib/Lower/RTBuilder.h

This file was deleted.

4 changes: 2 additions & 2 deletions flang/unittests/Optimizer/RTBuilder.cpp
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

#include "../../lib/Lower/RTBuilder.h"
#include "flang/Optimizer/Builder/Runtime/RTBuilder.h"
#include "gtest/gtest.h"
#include "flang/Optimizer/Support/InitFIR.h"

Expand All @@ -25,7 +25,7 @@ TEST(RTBuilderTest, ComplexRuntimeInterface) {
mlir::MLIRContext ctx(registry);
fir::support::loadDialects(ctx);
mlir::Type c99_cacosf_signature{
Fortran::lower::RuntimeTableKey<decltype(c99_cacosf)>::getTypeModel()(
fir::runtime::RuntimeTableKey<decltype(c99_cacosf)>::getTypeModel()(
&ctx)};
auto c99_cacosf_funcTy = c99_cacosf_signature.cast<mlir::FunctionType>();
EXPECT_EQ(c99_cacosf_funcTy.getNumInputs(), 1u);
Expand Down

0 comments on commit 1b3fd28

Please sign in to comment.