diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2011-10-01 02:47:54 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2011-10-01 02:47:54 +0000 |
| commit | ce29158bc45b9b9a347b69c848b19f5b77b6052b (patch) | |
| tree | 024c598c899997965c8b370a0558c46701b408a3 /llvm/utils/TableGen/FixedLenDecoderEmitter.cpp | |
| parent | 59d9ebb103ae7f73f6478a03c00c5777e0c03e1e (diff) | |
| download | bcm5719-llvm-ce29158bc45b9b9a347b69c848b19f5b77b6052b.tar.gz bcm5719-llvm-ce29158bc45b9b9a347b69c848b19f5b77b6052b.zip | |
Subtarget getFeatureBits() returns a uint64_t, not unsigned.
llvm-svn: 140928
Diffstat (limited to 'llvm/utils/TableGen/FixedLenDecoderEmitter.cpp')
| -rw-r--r-- | llvm/utils/TableGen/FixedLenDecoderEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp b/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp index 33c97c9c2df..a3255a06e92 100644 --- a/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp +++ b/llvm/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. |

