[llvm-commits] [llvm] r152105 - /llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Mar 6 08:32:28 PST 2012


On Mar 6, 2012, at 8:23 AM, Craig Topper wrote:

> It might not work with 64k registers. I didn't make the change to use one long string literal. I just exploited the C++ restriction that a string literal cant contain more 64K characters. I'll add asserts since that restriction might only be a warning.

That's just a minimum limit, clang and gcc have much larger limits. I expect so does most other modern compilers.

The C++ standard also says that unsigned is at least 16 bits. That doesn't mean you can replace it with uint16_t everywhere.

/jakob





More information about the llvm-commits mailing list