Skip to content
  1. Jun 09, 2007
  2. Jun 05, 2007
  3. Jun 03, 2007
    • Chris Lattner's avatar
      Type::isSignedInteger() and isUnsignedInteger() did not properly account for · b16f455e
      Chris Lattner authored
      'char', which varies based on the target.
      
      Instead of spreading target knowledge throughout the compiler, bifurcate char
      into Char_S and Char_U, and have ASTContext create the right one based on the
      target, when it starts up.
      
      llvm-svn: 39577
      b16f455e
    • Chris Lattner's avatar
      implement a first hack at codegen'ing the usual unary conversions. · 6db1fb84
      Chris Lattner authored
      This allows us to compile:
      
      int func() {
        int A[10];
        if (!A) {
      
      to:
      
      define i32 @func() {
      entry:
              %A = alloca [10 x i32]          ; <[10 x i32]*> [#uses=1]
              %arraydecay = getelementptr [10 x i32]* %A, i32 0, i32 0                ; <i32*> [#uses=1]
              %tobool = icmp ne i32* %arraydecay, null                ; <i1> [#uses=1]
              %lnot = xor i1 %tobool, true            ; <i1> [#uses=1]
              br i1 %lnot, label %ifthen, label %ifend
      
      -Chris
      
      llvm-svn: 39564
      6db1fb84
  4. Jun 02, 2007
  5. Jun 01, 2007
  6. May 31, 2007
  7. May 30, 2007
  8. May 28, 2007
Loading