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> llvm-svn: 183544
Showing
- llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp 43 additions, 2 deletionsllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
- llvm/test/CodeGen/ARM/emit-big-cst.ll 18 additions, 0 deletionsllvm/test/CodeGen/ARM/emit-big-cst.ll
- llvm/test/CodeGen/Mips/emit-big-cst.ll 17 additions, 0 deletionsllvm/test/CodeGen/Mips/emit-big-cst.ll
- llvm/test/CodeGen/X86/emit-big-cst.ll 17 additions, 0 deletionsllvm/test/CodeGen/X86/emit-big-cst.ll
Loading
Please register or sign in to comment