Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 34837ae

Browse files
committed
[X86] Use correct type for return value of ComputeAvailableFeatures in the AsmParser. NFC
There aren't enough used bits to make this a functional change, but we should fix it for consistency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316639 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 0dfe884 commit 34837ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/X86/AsmParser/X86AsmParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ class X86AsmParser : public MCTargetAsmParser {
909909
MCSubtargetInfo &STI = copySTI();
910910
FeatureBitset AllModes({X86::Mode64Bit, X86::Mode32Bit, X86::Mode16Bit});
911911
FeatureBitset OldMode = STI.getFeatureBits() & AllModes;
912-
unsigned FB = ComputeAvailableFeatures(
912+
uint64_t FB = ComputeAvailableFeatures(
913913
STI.ToggleFeature(OldMode.flip(mode)));
914914
setAvailableFeatures(FB);
915915

0 commit comments

Comments
 (0)