diff options
author | Sergei Barannikov <barannikov88@gmail.com> | 2024-08-02 16:45:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 16:45:50 +0300 |
commit | 4e93b16f3fce467b2bbda4e5fd8b15fcad2bea93 (patch) | |
tree | 46c7b720851f0b8a0bdd04f0244c45510b648e6c /llvm/lib/CodeGen/AtomicExpandPass.cpp | |
parent | 4a98f5228170224144da473c25188e23540c55d6 (diff) | |
download | llvm-4e93b16f3fce467b2bbda4e5fd8b15fcad2bea93.zip llvm-4e93b16f3fce467b2bbda4e5fd8b15fcad2bea93.tar.gz llvm-4e93b16f3fce467b2bbda4e5fd8b15fcad2bea93.tar.bz2 |
[llvm] Make InstSimplifyFolder constructor explicit (NFC) (#101654)
Diffstat (limited to 'llvm/lib/CodeGen/AtomicExpandPass.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AtomicExpandPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AtomicExpandPass.cpp b/llvm/lib/CodeGen/AtomicExpandPass.cpp index ebcf761..49836b9 100644 --- a/llvm/lib/CodeGen/AtomicExpandPass.cpp +++ b/llvm/lib/CodeGen/AtomicExpandPass.cpp @@ -142,7 +142,7 @@ struct ReplacementIRBuilder // Preserves the DebugLoc from I, and preserves still valid metadata. // Enable StrictFP builder mode when appropriate. explicit ReplacementIRBuilder(Instruction *I, const DataLayout &DL) - : IRBuilder(I->getContext(), DL, + : IRBuilder(I->getContext(), InstSimplifyFolder(DL), IRBuilderCallbackInserter( [this](Instruction *I) { addMMRAMD(I); })) { SetInsertPoint(I); |