diff options
author | Kazu Hirata <kazu@google.com> | 2022-03-20 10:41:22 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-03-20 10:41:22 -0700 |
commit | bce1bf0ee29e2da6be1e114a3a7678275a110a42 (patch) | |
tree | d483bc13f5fb7ded1d090cb013b37410ac70a78e /llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp | |
parent | 3b2e605e33bd9017ff2eff1493add07822f9d58b (diff) | |
download | llvm-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.cpp | 2 |
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 { |