Skip to content
  • Chandler Carruth's avatar
    Chris's constant data sequence refactoring actually enabled printing · 2c469ff1
    Chandler Carruth authored
    vectors of all one bits to be printed more cleverly in the AsmPrinter.
    Unfortunately, the byte value for all one bits is the same with
    -fsigned-char as the error return of '-1'. Force this to be the unsigned
    byte value when returning it to avoid this problem, and update the test
    case for the shiny new behavior.
    
    Yay for building LLVM and Clang with -funsigned-char.
    
    Chris, please review, and let me know if there is any reason to not
    desire this change. It seems good on the surface, and certainly intended
    based on the code written.
    
    llvm-svn: 149299
    2c469ff1
Loading