[llvm] r217257 - [mips] Change Feature-related types from unsigned to uint64_t in MipsAsmParser. No functional changes.
Toma Tabacu
toma.tabacu at imgtec.com
Fri Sep 5 09:32:09 PDT 2014
Author: tomatabacu
Date: Fri Sep 5 11:32:09 2014
New Revision: 217257
URL: http://llvm.org/viewvc/llvm-project?rev=217257&view=rev
Log:
[mips] Change Feature-related types from unsigned to uint64_t in MipsAsmParser. No functional changes.
Summary: Found a couple of cases where unsigned was still being used. These two should be the last ones in the (entire) Mips backend.
Reviewers: dsanders
Reviewed By: dsanders
Differential Revision: http://reviews.llvm.org/D5028
Modified:
llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Modified: llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp?rev=217257&r1=217256&r2=217257&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp Fri Sep 5 11:32:09 2014
@@ -254,14 +254,14 @@ class MipsAsmParser : public MCTargetAsm
ComputeAvailableFeatures(STI.ToggleFeature(ArchFeature)));
}
- void setFeatureBits(unsigned Feature, StringRef FeatureString) {
+ void setFeatureBits(uint64_t Feature, StringRef FeatureString) {
if (!(STI.getFeatureBits() & Feature)) {
setAvailableFeatures(
ComputeAvailableFeatures(STI.ToggleFeature(FeatureString)));
}
}
- void clearFeatureBits(unsigned Feature, StringRef FeatureString) {
+ void clearFeatureBits(uint64_t Feature, StringRef FeatureString) {
if (STI.getFeatureBits() & Feature) {
setAvailableFeatures(
ComputeAvailableFeatures(STI.ToggleFeature(FeatureString)));
More information about the llvm-commits
mailing list