Skip to content
  1. Aug 06, 2012
  2. Aug 05, 2012
  3. Aug 04, 2012
  4. Aug 03, 2012
  5. Aug 02, 2012
    • Jim Grosbach's avatar
      ARM: More InstAlias refactors to use #NAME#. · b79c33ef
      Jim Grosbach authored
      llvm-svn: 161220
      b79c33ef
    • Jim Grosbach's avatar
      ARM: Refactor instaliases using TableGen support for #NAME#. · 6d27ad62
      Jim Grosbach authored
      Now that TableGen supports references to NAME w/o it being explicitly
      referenced in the definition's own name, use that to simplify
      assembly InstAlias definitions in multiclasses.
      
      llvm-svn: 161218
      6d27ad62
    • Manman Ren's avatar
      X86 Peephole: fold loads to the source register operand if possible. · ba8122cc
      Manman Ren authored
      Add more comments and use early returns to reduce nesting in isLoadFoldable.
      Also disable folding for V_SET0 to avoid introducing a const pool entry and
      a const pool load.
      
      rdar://10554090 and rdar://11873276
      
      llvm-svn: 161207
      ba8122cc
    • Jim Grosbach's avatar
      TableGen: Allow use of #NAME# outside of 'def' names. · bc5b61c7
      Jim Grosbach authored
      Previously, def NAME values were only populated, and references to NAME
      resolved, when NAME was referenced in the 'def' entry of the multiclass
      sub-entry. e.g.,
      multiclass foo<...> {
        def prefix_#NAME : ...
      }
      
      It's useful, however, to be able to reference NAME even when the default
      def name is used. For example, when a multiclass has 'def : Pat<...>'
      or 'def : InstAlias<...>' entries which refer to earlier instruction
      definitions in the same multiclass. e.g.,
      multiclass myMulti<RegisterClass rc> {
        def _r : myI<(outs rc:$d), (ins rc:$r), "r $d, $r", []>;
      
        def : InstAlias<\"wilma $r\", (!cast<Instruction>(NAME#\"_r\") rc:$r, rc:$r)>;
      }
      
      llvm-svn: 161198
      bc5b61c7
Loading