diff --git a/llvm/utils/TableGen/RegisterInfoEmitter.cpp b/llvm/utils/TableGen/RegisterInfoEmitter.cpp index 0d0c3251fac3..f8af06c75fc8 100644 --- a/llvm/utils/TableGen/RegisterInfoEmitter.cpp +++ b/llvm/utils/TableGen/RegisterInfoEmitter.cpp @@ -480,7 +480,7 @@ DiffVec &diffEncode(DiffVec &V, unsigned InitVal, ArrayRef List) { } static void printDiff16(raw_ostream &OS, uint16_t Val) { - OS << SignExtend32<16>(Val); + OS << Val; } //