[PATCH] D56220: [llvm] Clarify responsiblity of some of DILocation discriminator APIs
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 2 13:29:13 PST 2019
mtrofin created this revision.
Herald added subscribers: llvm-commits, zzheng.
Renamed setBaseDiscriminator to cloneWithBaseDiscriminator, to match
similar APIs. Also changed its behavior to copy over the other
discriminator components, instead of eliding them.
Renamed cloneWithDuplicationFactor to
cloneByMultiplyingDuplicationFactor, which more closely matches what
this API does.
Repository:
rL LLVM
https://reviews.llvm.org/D56220
Files:
include/llvm/IR/DebugInfoMetadata.h
lib/Transforms/Utils/AddDiscriminators.cpp
lib/Transforms/Utils/LoopUnroll.cpp
lib/Transforms/Utils/LoopUnrollAndJam.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp
unittests/IR/MetadataTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56220.179932.patch
Type: text/x-patch
Size: 8661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190102/4fc79fe8/attachment.bin>
More information about the llvm-commits
mailing list