aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringBase.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp
index cda41a9..65bbec8 100644
--- a/llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -681,9 +681,8 @@ void TargetLoweringBase::initActions() {
memset(TruncStoreActions, 0, sizeof(TruncStoreActions));
memset(IndexedModeActions, 0, sizeof(IndexedModeActions));
memset(CondCodeActions, 0, sizeof(CondCodeActions));
- std::fill(std::begin(RegClassForVT), std::end(RegClassForVT), nullptr);
- std::fill(std::begin(TargetDAGCombineArray),
- std::end(TargetDAGCombineArray), 0);
+ llvm::fill(RegClassForVT, nullptr);
+ llvm::fill(TargetDAGCombineArray, 0);
// Let extending atomic loads be unsupported by default.
for (MVT ValVT : MVT::all_valuetypes())