Skip to content
  • Jack Carter's avatar
    There are a number of generic inline asm operand modifiers that · 5e69cffe
    Jack Carter authored
    up to r158925 were handled as processor specific. Making them 
    generic and putting tests for these modifiers in the CodeGen/Generic
    directory caused a number of targets to fail. 
    
    This commit addresses that problem by having the targets call 
    the generic routine for generic modifiers that they don't currently
    have explicit code for.
    
    For now only generic print operands 'c' and 'n' are supported.vi
    
    
    Affected files:
    
        test/CodeGen/Generic/asm-large-immediate.ll
        lib/Target/PowerPC/PPCAsmPrinter.cpp
        lib/Target/NVPTX/NVPTXAsmPrinter.cpp
        lib/Target/ARM/ARMAsmPrinter.cpp
        lib/Target/XCore/XCoreAsmPrinter.cpp
        lib/Target/X86/X86AsmPrinter.cpp
        lib/Target/Hexagon/HexagonAsmPrinter.cpp
        lib/Target/CellSPU/SPUAsmPrinter.cpp
        lib/Target/Sparc/SparcAsmPrinter.cpp
        lib/Target/MBlaze/MBlazeAsmPrinter.cpp
        lib/Target/Mips/MipsAsmPrinter.cpp
        
    MSP430 isn't represented because it did not even run with
    the long existing 'c' modifier and it was not apparent what
    needs to be done to get it inline asm ready.
    
    Contributer: Jack Carter
    llvm-svn: 159203
    5e69cffe
Loading