mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
Reverting r229831 due to multiple ARM/PPC/MIPS build-bot failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229841 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