Skip to content
  1. Jul 17, 2007
    • Reid Spencer's avatar
      Prepare for the future when llvm doesn't depend on llvm-gcc-4-0. · a71bd75e
      Reid Spencer authored
      This also avoids a fork bomb from the llvm-top/build script which
      doesn't know how to handle cycles in the dependence graph.
      
      llvm-svn: 39933
      a71bd75e
    • Chris Lattner's avatar
      In the final step for preserving typedef info better in the AST, upgrade · 96d423ef
      Chris Lattner authored
      isPointerType and isVectorType to only look through a single level of typedef
      when one is present.  For this invalid code:
      
      typedef float float4 __attribute__((vector_size(16)));
      typedef int int4 __attribute__((vector_size(16)));
      typedef int4* int4p;
      void test(float4 a, int4p result, int i) {
          result[i] = a;
      }
      
      we now get:
      
      t.c:5:15: error: incompatible types assigning 'float4' to 'int4'
          result[i] = a;
          ~~~~~~~~~ ^ ~
      
      instead of:
      
      t.c:5:15: error: incompatible types assigning 'float4' to 'int  __attribute__((vector_size(16)))'
          result[i] = a;
          ~~~~~~~~~ ^ ~
      
      The rest of the type predicates should be upgraded to do the same thing.
      
      llvm-svn: 39932
      96d423ef
    • Reid Spencer's avatar
      Remove insignificant test no longer needed. · f5453737
      Reid Spencer authored
      llvm-svn: 39931
      f5453737
  2. Jul 16, 2007
Loading