Skip to content
  1. Jul 30, 2007
  2. Jul 29, 2007
    • Reid Spencer's avatar
      Be explicit about which level of optimization is being asked for. The -O option · 7717ff53
      Reid Spencer authored
      is equivalent to -O1.
      
      llvm-svn: 40581
      7717ff53
    • Steve Naroff's avatar
      · ddf5a1d7
      Steve Naroff authored
      Implement pretty diagnostics when doing on-the-fly vector sizing (for vector component access).
      
      For example, before this commit, the following diagnostics would be emitted...
      
      ocu.c:49:12: error: incompatible types assigning 'float  __attribute__((ocu_vector_type(3)))' to 'float4'
          vec4_2 = vec4.rgb; // shorten
          ~~~~~~ ^ ~~~~~~~~
      ocu.c:51:7: error: incompatible types assigning 'float  __attribute__((ocu_vector_type(2)))' to 'float'
          f = vec2.xx; // shorten
          ~ ^ ~~~~~~~
      
      Now, the diagnostics look as you would expect...
      
      ocu.c:49:12: error: incompatible types assigning 'float3' to 'float4'
          vec4_2 = vec4.rgb; // shorten
          ~~~~~~ ^ ~~~~~~~~
      ocu.c:51:7: error: incompatible types assigning 'float2' to 'float'
          f = vec2.xx; // shorten
          ~ ^ ~~~~~~~
      
      llvm-svn: 40579
      ddf5a1d7
    • Christopher Lamb's avatar
      Change the x86 backend to use extract_subreg for truncation operations. Passes... · 5fecb80e
      Christopher Lamb authored
      Change the x86 backend to use extract_subreg for truncation operations. Passes DejaGnu, SingleSource and MultiSource.
      
      llvm-svn: 40578
      5fecb80e
    • Steve Naroff's avatar
      · f7a5da17
      Steve Naroff authored
      Added a new expression, OCUVectorComponent.
      
      llvm-svn: 40577
      f7a5da17
  3. Jul 28, 2007
  4. Jul 27, 2007
  5. Jul 26, 2007
Loading