Skip to content
  1. Jun 22, 2012
  2. Jun 21, 2012
    • Jack Carter's avatar
      The inline asm operand modifier 'n' is suppose · c457f620
      Jack Carter authored
      to be generic across architectures. It has the
      following description in the gnu sources:
      
          Negate the immediate constant
      
      Several Architectures such as x86 have local implementations
      of operand modifier 'n' which go beyond the above description
      slightly. This won't affect them.
      
      Affected files:
      
          lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
              Added 'n' to the switch cases.
      
          test/CodeGen/Generic/asm-large-immediate.ll
              Generic compiled test (x86 for me)
      
          test/CodeGen/Mips/asm-large-immediate.ll
              Mips compiled version of the generic one
      
      Contributer: Jack Carter
      llvm-svn: 158939
      c457f620
    • Nuno Lopes's avatar
      Add support for invoke to the MemoryBuiltin analysid. · dc6085e5
      Nuno Lopes authored
      Update comments accordingly.
      
      Make instcombine remove useless invokes to C++'s 'new' allocation function (test attached).
      
      llvm-svn: 158937
      dc6085e5
    • Akira Hatanaka's avatar
      1. fix null program output after some other changes · 765c3123
      Akira Hatanaka authored
      2. re-enable null.ll test
      3. fix some minor style violations
      
      Patch by Reed Kotler.
      
      llvm-svn: 158935
      765c3123
    • Akira Hatanaka's avatar
      Add Mips to the list of target architectures for the MCJIT tests. · fcf52c83
      Akira Hatanaka authored
       
      Patch by Reed Kotler.
      
      llvm-svn: 158933
      fcf52c83
    • Hal Finkel's avatar
      Treat TargetGlobalAddress as a constant for the purpose of matching pre-inc stores on PPC. · a86b0f20
      Hal Finkel authored
      Thanks to Tobias von Koch for pointing out this problem.
      
      llvm-svn: 158932
      a86b0f20
    • Chandler Carruth's avatar
      Avoid using the recently added APPEND_STRING feature. This should · 582e8a5d
      Chandler Carruth authored
      restore support for CMake versions before 2.8.6 -- sorry for the
      trouble!
      
      llvm-svn: 158930
      582e8a5d
    • Nuno Lopes's avatar
      fix build in C++11 mode. · f06b731f
      Nuno Lopes authored
      Thanks to Chandler for pointing out the problem.
      
      llvm-svn: 158928
      f06b731f
    • Pete Cooper's avatar
      Fix potential crash if DAGCombine on stores sees a half type · 5b61422d
      Pete Cooper authored
      llvm-svn: 158927
      5b61422d
    • Jack Carter's avatar
      The inline asm operand modifier 'c' is suppose · b2fd5f66
      Jack Carter authored
      to be generic across architectures. It has the
      following description in the gnu sources:
      
          Substitute immediate value without immediate syntax
      
      Several Architectures such as x86 have local implementations
      of operand modifier 'c' which go beyond the above description
      slightly. To make use of the generic modifiers without overriding
      local implementation one can make a call to the base class method
      for AsmPrinter::PrintAsmOperand() in the locally derived method's 
      "default" case in the switch statement. That way if it is already
      defined locally the generic version will never get called.
      
      This change is needed when test/CodeGen/generic/asm-large-immediate.ll
      failed on a native Mips board. The test was assuming a generic
      implementation was in place.
      
      Affected files:
      
          lib/Target/Mips/MipsAsmPrinter.cpp:
              Changed the default case to call the base method.
          lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
              Added 'c' to the switch cases.
          test/CodeGen/Mips/asm-large-immediate.ll
              Mips compiled version of the generic one
      
      Contributer: Jack Carter
      llvm-svn: 158925
      b2fd5f66
Loading