Skip to content
  1. May 07, 2012
  2. May 06, 2012
    • Rafael Espindola's avatar
      Split mergeAvailabilityAttr out of handleAvailabilityAttr. This is important · 2d243bfe
      Rafael Espindola authored
      for having a uniform logic for adding attributes to a decl. This in turn
      is needed to fix the FIXME:
      
        // FIXME: This needs to happen before we merge declarations. Then,
        // let attribute merging cope with attribute conflicts.
        ProcessDeclAttributes(S, NewFD, D,
                              /*NonInheritable=*/false, /*Inheritable=*/true);
      
      The idea is that mergeAvailabilityAttr will become a method. Once attributes
      are processed before merging, it will be called from handleAvailabilityAttr to
      handle multiple attributes in one decl:
      
      void f(int) __attribute__((availability(ios,deprecated=3.0),
                                 availability(ios,introduced=2.0)));
      
      and from SemaDecl.cpp to handle multiple decls:
      
      void f(int) __attribute__((availability(ios,deprecated=3.0)));
      void f(int) __attribute__((availability(ios,introduced=2.0)));
      
      As a bonus, use the new structure to diagnose incompatible availability
      attributes added to different decls (see included testcases).
      
      llvm-svn: 156269
      2d243bfe
    • Craig Topper's avatar
      Use MVT instead of EVT as the argument to all the shuffle decode functions.... · 00a1e6d4
      Craig Topper authored
      Use MVT instead of EVT as the argument to all the shuffle decode functions. Simplify some of the decode functions.
      
      llvm-svn: 156268
      00a1e6d4
    • Craig Topper's avatar
      Add VPERMQ/VPERMPD to the list of target specific shuffles that can be looked... · 804be3b5
      Craig Topper authored
      Add VPERMQ/VPERMPD to the list of target specific shuffles that can be looked through for DAG combine purposes.
      
      llvm-svn: 156266
      804be3b5
    • Craig Topper's avatar
      Add shuffle decode support for VPERMQ/VPERMPD. · 54bdb350
      Craig Topper authored
      llvm-svn: 156265
      54bdb350
Loading