From c3434b390d6ea255aa4bd82cfd6ddcdee99e4a23 Mon Sep 17 00:00:00 2001 From: Michael Kuperstein Date: Wed, 13 May 2015 10:28:46 +0000 Subject: 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). llvm-svn: 237245 --- llvm/lib/Target/ARM/ARMSubtarget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Target/ARM/ARMSubtarget.cpp') diff --git a/llvm/lib/Target/ARM/ARMSubtarget.cpp b/llvm/lib/Target/ARM/ARMSubtarget.cpp index 18c5092e6bd..89aab260366 100644 --- a/llvm/lib/Target/ARM/ARMSubtarget.cpp +++ b/llvm/lib/Target/ARM/ARMSubtarget.cpp @@ -265,8 +265,8 @@ void ARMSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) { } // NEON f32 ops are non-IEEE 754 compliant. Darwin is ok with it by default. - const FeatureBitset &Bits = getFeatureBits(); - if ((Bits[ARM::ProcA5] || Bits[ARM::ProcA8]) && // Where this matters + uint64_t Bits = getFeatureBits(); + if ((Bits & ARM::ProcA5 || Bits & ARM::ProcA8) && // Where this matters (Options.UnsafeFPMath || isTargetDarwin())) UseNEONForSinglePrecisionFP = true; } -- cgit v1.2.3