Teach AsmPrinter how to print odd constants.
authorQuentin Colombet <qcolombet@apple.com>
Fri, 7 Jun 2013 18:36:03 +0000 (18:36 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Fri, 7 Jun 2013 18:36:03 +0000 (18:36 +0000)
commitfcca6c690cc86123f175582772cb1554cc7e8d81
tree4fe1e6e8d9fb6a7d29ddfc9dd16d8d32f829f5aa
parent576d49a775043931d81bba172b9b11f40d858cb6
Teach AsmPrinter how to print odd constants.

Fix an assertion when the compiler encounters big constants whose bit width is
not a multiple of 64-bits.
Although clang would never generate something like this, the backend should be
able to handle any legal IR.

<rdar://problem/13363576>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183544 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/CodeGen/ARM/emit-big-cst.ll [new file with mode: 0644]
test/CodeGen/Mips/emit-big-cst.ll [new file with mode: 0644]
test/CodeGen/X86/emit-big-cst.ll [new file with mode: 0644]