aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Comdat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/IR/Comdat.cpp')
-rw-r--r--llvm/lib/IR/Comdat.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/IR/Comdat.cpp b/llvm/lib/IR/Comdat.cpp
index c9f715daf457..1a5d38d17bc0 100644
--- a/llvm/lib/IR/Comdat.cpp
+++ b/llvm/lib/IR/Comdat.cpp
@@ -47,8 +47,8 @@ LLVMComdatSelectionKind LLVMGetComdatSelectionKind(LLVMComdatRef C) {
return LLVMExactMatchComdatSelectionKind;
case Comdat::Largest:
return LLVMLargestComdatSelectionKind;
- case Comdat::NoDuplicates:
- return LLVMNoDuplicatesComdatSelectionKind;
+ case Comdat::NoDeduplicate:
+ return LLVMNoDeduplicateComdatSelectionKind;
case Comdat::SameSize:
return LLVMSameSizeComdatSelectionKind;
}
@@ -67,8 +67,8 @@ void LLVMSetComdatSelectionKind(LLVMComdatRef C, LLVMComdatSelectionKind kind) {
case LLVMLargestComdatSelectionKind:
Cd->setSelectionKind(Comdat::Largest);
break;
- case LLVMNoDuplicatesComdatSelectionKind:
- Cd->setSelectionKind(Comdat::NoDuplicates);
+ case LLVMNoDeduplicateComdatSelectionKind:
+ Cd->setSelectionKind(Comdat::NoDeduplicate);
break;
case LLVMSameSizeComdatSelectionKind:
Cd->setSelectionKind(Comdat::SameSize);