Skip to content

Commit 010d34d

Browse files
committed
Add todo
1 parent dfafa08 commit 010d34d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Utils/Local.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3319,6 +3319,7 @@ static void combineMetadata(Instruction *K, const Instruction *J,
33193319
MDNode *JMD = J->getMetadata(Kind);
33203320
MDNode *KMD = MD.second;
33213321

3322+
// TODO: Assert that this switch is exhaustive for fixed MD kinds.
33223323
switch (Kind) {
33233324
default:
33243325
K->setMetadata(Kind, nullptr); // Remove unknown metadata

0 commit comments

Comments
 (0)