Skip to content
  1. Mar 03, 2010
  2. Mar 02, 2010
    • Chris Lattner's avatar
      eliminate PreprocessForRMW now that isel handles it. · 1eb6eb05
      Chris Lattner authored
      We still preprocess calls and fp return stuff.
      
      llvm-svn: 97598
      1eb6eb05
    • Chris Lattner's avatar
      remove 300 lines of code that is now dead in the MSP430 backend · 71ddd8e2
      Chris Lattner authored
      now that isel handles chains more aggressively.  This also
      allows us to make isLegalToFold non-virtual.
      
      llvm-svn: 97597
      71ddd8e2
    • Chris Lattner's avatar
      Fix some issues in WalkChainUsers dealing with · dd030701
      Chris Lattner authored
      CopyToReg/CopyFromReg/INLINEASM.  These are annoying because
      they have the same opcode before an after isel.  Fix this by
      setting their NodeID to -1 to indicate that they are selected,
      just like what automatically happens when selecting things that
      end up being machine nodes.
      
      With that done, give IsLegalToFold a new flag that causes it to
      ignore chains.  This lets the HandleMergeInputChains routine be
      the one place that validates chains after a match is successful,
      enabling the new hotness in chain processing.  This smarter
      chain processing eliminates the need for "PreprocessRMW" in the
      X86 and MSP430 backends and enables MSP to start matching it's
      multiple mem operand instructions more aggressively.
      
      I currently #if out the dead code in the X86 backend and MSP 
      backend, I'll remove it for real in a follow-on patch.
      
      The testcase changes are:
        test/CodeGen/X86/sse3.ll: we generate better code
        test/CodeGen/X86/store_op_load_fold2.ll: PreprocessRMW was 
            miscompiling this before, we now generate correct code
            Convert it to filecheck while I'm at it.
        test/CodeGen/MSP430/Inst16mm.ll: Add a testcase for mem/mem
            folding to make anton happy. :)
      
      llvm-svn: 97596
      dd030701
    • Johnny Chen's avatar
      7041f2ce
    • Evan Cheng's avatar
      Allow specialization of ScopedHashTable of non-default DenseMapInfo. · b86044b7
      Evan Cheng authored
      llvm-svn: 97594
      b86044b7
    • Bill Wendling's avatar
      Okay. One last attempt: · ce153aff
      Bill Wendling authored
      Place the LSDA into the TEXT section on Mach-O. This saves space.
      
      llvm-svn: 97592
      ce153aff
    • Ted Kremenek's avatar
      [CFG] · 5d2bb1b9
      Ted Kremenek authored
      After discussion with Zhongxing, don't force the initializer of DeclStmts to be
      block-level expressions.
      
      This led to some interesting fallout:
      
      [UninitializedValues]
      
      Always visit the initializer of DeclStmts (do not assume they are block-level expressions).
      
      [BasicStore]
      
      With initializers of DeclStmts no longer block-level expressions, this causes self-referencing initializers (e.g. 'int x = x') to no longer cause the initialized variable to be live before the DeclStmt.  While this is correct, it caused BasicStore::RemoveDeadBindings() to prune off the values of these variables from the initial store (where they are set to uninitialized).  The fix is to back-port some (and only some) of the lazy-binding logic from RegionStore to
      BasicStore.  Now the default values of local variables are determined lazily as opposed
      to explicitly initialized.
      
      llvm-svn: 97591
      5d2bb1b9
    • Ted Kremenek's avatar
      c3c1b102
    • Rafael Espindola's avatar
      During codegen assert that any copy assignment, destructor or constructor that · 70e040d5
      Rafael Espindola authored
      we need to synthesize has been marked as used by Sema.
      
      Change Sema to avoid these asserts.
      
      llvm-svn: 97589
      70e040d5
    • Chris Lattner's avatar
      this testcase is failing because pic16 doesn't define a reg/reg · f61e34d1
      Chris Lattner authored
      xor pattern.  I have no plans to fix this XFAIL.
      
      llvm-svn: 97587
      f61e34d1
    • Erick Tryzelaar's avatar
      Add support for use to ocaml. · a48e6271
      Erick Tryzelaar authored
      llvm-svn: 97586
      a48e6271
Loading