diff options
Diffstat (limited to 'llvm/utils/TableGen/DecoderEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/DecoderEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/DecoderEmitter.cpp b/llvm/utils/TableGen/DecoderEmitter.cpp index 34fb5f4..c1afbbd 100644 --- a/llvm/utils/TableGen/DecoderEmitter.cpp +++ b/llvm/utils/TableGen/DecoderEmitter.cpp @@ -2409,7 +2409,7 @@ static void collectHwModesReferencedForEncodings( // FIXME: Can't do `HwModeIDs.assign(BV.set_bits_begin(), BV.set_bits_end())` // because const_set_bits_iterator_impl is not copy-assignable. // This breaks some MacOS builds. - append_range(HwModeIDs, BV.set_bits()); + llvm::copy(BV.set_bits(), std::back_inserter(HwModeIDs)); } static void |