summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-10-01 02:47:54 +0000
committerBob Wilson <bob.wilson@apple.com>2011-10-01 02:47:54 +0000
commit1cea66c3bac79493a23f6ff45260e7e7f9fb8882 (patch)
tree383a097335649711344c97571bf1822f3a2978fa /utils
parent52490411259ccc34b8c59f3532e78442a46fffd7 (diff)
downloadllvm-1cea66c3bac79493a23f6ff45260e7e7f9fb8882.tar.gz
llvm-1cea66c3bac79493a23f6ff45260e7e7f9fb8882.tar.bz2
llvm-1cea66c3bac79493a23f6ff45260e7e7f9fb8882.tar.xz
Subtarget getFeatureBits() returns a uint64_t, not unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140928 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/FixedLenDecoderEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/FixedLenDecoderEmitter.cpp b/utils/TableGen/FixedLenDecoderEmitter.cpp
index 33c97c9c2d..a3255a06e9 100644
--- a/utils/TableGen/FixedLenDecoderEmitter.cpp
+++ b/utils/TableGen/FixedLenDecoderEmitter.cpp
@@ -577,7 +577,7 @@ void FilterChooser::emitTop(raw_ostream &o, unsigned Indentation,
<< "(MCInst &MI, uint" << BitWidth << "_t insn, uint64_t Address, "
<< "const void *Decoder, const MCSubtargetInfo &STI) {\n";
o.indent(Indentation) << " unsigned tmp = 0;\n (void)tmp;\n" << Emitter->Locals << "\n";
- o.indent(Indentation) << " unsigned Bits = STI.getFeatureBits();\n";
+ o.indent(Indentation) << " uint64_t Bits = STI.getFeatureBits();\n";
++Indentation; ++Indentation;
// Emits code to decode the instructions.