aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-03-20 10:41:22 -0700
committerKazu Hirata <kazu@google.com>2022-03-20 10:41:22 -0700
commitbce1bf0ee29e2da6be1e114a3a7678275a110a42 (patch)
treed483bc13f5fb7ded1d090cb013b37410ac70a78e /llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
parent3b2e605e33bd9017ff2eff1493add07822f9d58b (diff)
downloadllvm-bce1bf0ee29e2da6be1e114a3a7678275a110a42.zip
llvm-bce1bf0ee29e2da6be1e114a3a7678275a110a42.tar.gz
llvm-bce1bf0ee29e2da6be1e114a3a7678275a110a42.tar.bz2
[Transform] Apply clang-tidy fixes for readability-redundant-smartptr-get (NFC)
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp b/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
index 29d0e3e..bda7a46 100644
--- a/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
+++ b/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
@@ -2080,7 +2080,7 @@ bool ControlHeightReductionLegacyPass::runOnFunction(Function &F) {
RegionInfo &RI = getAnalysis<RegionInfoPass>().getRegionInfo();
std::unique_ptr<OptimizationRemarkEmitter> OwnedORE =
std::make_unique<OptimizationRemarkEmitter>(&F);
- return CHR(F, BFI, DT, PSI, RI, *OwnedORE.get()).run();
+ return CHR(F, BFI, DT, PSI, RI, *OwnedORE).run();
}
namespace llvm {