X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FMC%2FMCInstrDesc.h;h=360989305d3af0ec0026bb9d13d721f43ed2054a;hb=931b52d6650dafa9c526c9065d52d901df154306;hp=459efadb21f409043cf6fc2452aae4a70846683d;hpb=23dd089d8f040a952e2be1663ffc1555523f7470;p=oota-llvm.git diff --git a/include/llvm/MC/MCInstrDesc.h b/include/llvm/MC/MCInstrDesc.h index 459efadb21f..360989305d3 100644 --- a/include/llvm/MC/MCInstrDesc.h +++ b/include/llvm/MC/MCInstrDesc.h @@ -150,7 +150,7 @@ public: const uint16_t *ImplicitUses; // Registers implicitly read by this instr const uint16_t *ImplicitDefs; // Registers implicitly defined by this instr const MCOperandInfo *OpInfo; // 'NumOperands' entries about operands - FeatureBitset DeprecatedFeatureMask; // Feature bits that this is deprecated on, if any + uint64_t DeprecatedFeatureMask;// Feature bits that this is deprecated on, if any // A complex method to determine is a certain is deprecated or not, and return // the reason for deprecation. bool (*ComplexDeprecationInfo)(MCInst &, MCSubtargetInfo &, std::string &); @@ -173,7 +173,7 @@ public: std::string &Info) const { if (ComplexDeprecationInfo) return ComplexDeprecationInfo(MI, STI, Info); - if ((STI.getFeatureBits() & DeprecatedFeatureMask).any()) { + if ((DeprecatedFeatureMask & STI.getFeatureBits()) != 0) { // FIXME: it would be nice to include the subtarget feature here. Info = "deprecated"; return true;