mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Reverting r237234, "Use std::bitset for SubtargetFeatures"
The buildbots are still not satisfied. MIPS and ARM are failing (even though at least MIPS was expected to pass). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237245 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -63,19 +63,14 @@ MCSubtargetInfo::InitMCSubtargetInfo(StringRef TT, StringRef C, StringRef FS,
|
||||
|
||||
/// ToggleFeature - Toggle a feature and returns the re-computed feature
|
||||
/// bits. This version does not change the implied bits.
|
||||
FeatureBitset MCSubtargetInfo::ToggleFeature(uint64_t FB) {
|
||||
FeatureBits.flip(FB);
|
||||
return FeatureBits;
|
||||
}
|
||||
|
||||
FeatureBitset MCSubtargetInfo::ToggleFeature(const FeatureBitset &FB) {
|
||||
uint64_t MCSubtargetInfo::ToggleFeature(uint64_t FB) {
|
||||
FeatureBits ^= FB;
|
||||
return FeatureBits;
|
||||
}
|
||||
|
||||
/// ToggleFeature - Toggle a feature and returns the re-computed feature
|
||||
/// bits. This version will also change all implied bits.
|
||||
FeatureBitset MCSubtargetInfo::ToggleFeature(StringRef FS) {
|
||||
uint64_t MCSubtargetInfo::ToggleFeature(StringRef FS) {
|
||||
SubtargetFeatures Features;
|
||||
FeatureBits = Features.ToggleFeature(FeatureBits, FS, ProcFeatures);
|
||||
return FeatureBits;
|
||||
|
Reference in New Issue
Block a user