Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | ||
---|---|---|
1236 | Isn't the correct way is to use .get instead if .release here? |
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | ||
---|---|---|
1236 | I just want to take control over the underlying MDTuple so that I can "wire" it as a Metadata operand, and later delete it (with the new code). FWIW, I believe the same approach is used in llvm/lib/Bitcode/Reader/MetadataLoader.cpp:BitcodeReaderMetadataList::getMetadataFwdRef. |
Please either land this one ASAP, or if you want another review, revert original, to recover bots.
I decided to merge this to unblock the sanitizer buildbot. If there are concerns about this code, I will rework it.
Isn't the correct way is to use .get instead if .release here?