We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dc32df commit 61a859bCopy full SHA for 61a859b
llvm/utils/TableGen/DecoderEmitter.cpp
@@ -2409,7 +2409,7 @@ static void collectHwModesReferencedForEncodings(
2409
// FIXME: Can't do `HwModeIDs.assign(BV.set_bits_begin(), BV.set_bits_end())`
2410
// because const_set_bits_iterator_impl is not copy-assignable.
2411
// This breaks some MacOS builds.
2412
- append_range(HwModeIDs, BV.set_bits());
+ llvm::copy(BV.set_bits(), std::back_inserter(HwModeIDs));
2413
}
2414
2415
static void
0 commit comments