Skip to content
  1. Dec 04, 2006
  2. Dec 03, 2006
  3. Dec 01, 2006
  4. Nov 28, 2006
  5. Nov 27, 2006
    • Reid Spencer's avatar
      For PR950: · 6c38f0bb
      Reid Spencer authored
      The long awaited CAST patch. This introduces 12 new instructions into LLVM
      to replace the cast instruction. Corresponding changes throughout LLVM are
      provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
      exception of 175.vpr which fails only on a slight floating point output
      difference.
      
      llvm-svn: 31931
      6c38f0bb
  6. Nov 08, 2006
    • Reid Spencer's avatar
      For PR950: · fdff938a
      Reid Spencer authored
      This patch converts the old SHR instruction into two instructions,
      AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not
      dependent on the sign of their operands.
      
      llvm-svn: 31542
      fdff938a
    • Chris Lattner's avatar
      regenerate · 6aee6f2a
      Chris Lattner authored
      llvm-svn: 31539
      6aee6f2a
  7. Nov 02, 2006
    • Reid Spencer's avatar
      For PR786: · de46e484
      Reid Spencer authored
      Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
      fall out by removing unused variables. Remaining warnings have to do with
      unused functions (I didn't want to delete code without review) and unused
      variables in generated code. Maintainers should clean up the remaining
      issues when they see them. All changes pass DejaGnu tests and Olden.
      
      llvm-svn: 31380
      de46e484
  8. Oct 26, 2006
    • Reid Spencer's avatar
      For PR950: · 7e80b0b3
      Reid Spencer authored
      Make necessary changes to support DIV -> [SUF]Div. This changes llvm to
      have three division instructions: signed, unsigned, floating point. The
      bytecode and assembler are bacwards compatible, however.
      
      llvm-svn: 31195
      7e80b0b3
  9. Oct 24, 2006
  10. Oct 22, 2006
  11. Oct 20, 2006
    • Reid Spencer's avatar
      For PR950: · e0fc4dfc
      Reid Spencer authored
      This patch implements the first increment for the Signless Types feature.
      All changes pertain to removing the ConstantSInt and ConstantUInt classes
      in favor of just using ConstantInt.
      
      llvm-svn: 31063
      e0fc4dfc
  12. Oct 18, 2006
  13. Oct 16, 2006
  14. Oct 09, 2006
    • Reid Spencer's avatar
      Fix PR886: · ff359003
      Reid Spencer authored
      The result of yyparse() was not being checked. When YYERROR or YYABORT is
      called it causes yyparse() to return 1 to indicate the error. The code was
      silently ignoring this situation because it previously expected either an
      exception or a null ParserResult to indicate an error. The patch corrects
      this situation.
      
      llvm-svn: 30834
      ff359003
  15. Sep 29, 2006
    • Chris Lattner's avatar
      · 6ab03f6a
      Chris Lattner authored
      Eliminate ConstantBool::True and ConstantBool::False.  Instead, provide
      ConstantBool::getTrue() and ConstantBool::getFalse().
      
      llvm-svn: 30665
      6ab03f6a
  16. Sep 28, 2006
    • Reid Spencer's avatar
      Fix PR902: · 309080ab
      Reid Spencer authored
      Errors are generated with the YYERROR macro which can only be called from
      a production (inside yyparse) because of the goto statement in the macro.
      This lead to several situations where GEN_ERROR was not called but
      GenerateError was used instead (because it doesn't use YYERROR). However,
      in such situations, catching the error much later (e.g. at the end of
      the production) is not sufficient because LLVM can assert on invalid data
      before the end of the production is reached. The solution is to ensure that
      the CHECK_FOR_ERROR macro (which invokes YYERROR if there's an error) is
      used as soon as possible after a call to GenerateError has been made.
      
      llvm-svn: 30650
      309080ab
  17. Sep 17, 2006
  18. Sep 14, 2006
  19. Aug 18, 2006
    • Chris Lattner's avatar
      regenerate · 680aab65
      Chris Lattner authored
      llvm-svn: 29771
      680aab65
    • Reid Spencer's avatar
      b50974ac
    • Reid Spencer's avatar
      For PR797: · 713eedc1
      Reid Spencer authored
      Rid the Assembly Parser of exceptions. This is a really gross hack but it
      will do until the Assembly Parser is re-written as a recursive descent.
      The basic premise is that wherever the old "ThrowException" function was
      called (new name: GenerateError) we set a flag (TriggerError). Every
      production checks that flag and calls YYERROR if it is set. Additionally,
      each call to ThrowException in the grammar is replaced with GEN_ERROR
      which calls GenerateError and then YYERROR immediately. This prevents
      the remaining production from continuing after an error condition.
      
      llvm-svn: 29763
      713eedc1
  20. Jun 21, 2006
  21. May 19, 2006
  22. Apr 08, 2006
  23. Mar 04, 2006
  24. Feb 15, 2006
  25. Jan 25, 2006
  26. Jan 24, 2006
  27. Jan 19, 2006
  28. Jan 17, 2006
  29. Jan 16, 2006
    • Reid Spencer's avatar
      For PR411: · b4f9a6f1
      Reid Spencer authored
      This patch is an incremental step towards supporting a flat symbol table.
      It de-overloads the intrinsic functions by providing type-specific intrinsics
      and arranging for automatically upgrading from the old overloaded name to
      the new non-overloaded name. Specifically:
        llvm.isunordered -> llvm.isunordered.f32, llvm.isunordered.f64
        llvm.sqrt -> llvm.sqrt.f32, llvm.sqrt.f64
        llvm.ctpop -> llvm.ctpop.i8, llvm.ctpop.i16, llvm.ctpop.i32, llvm.ctpop.i64
        llvm.ctlz -> llvm.ctlz.i8, llvm.ctlz.i16, llvm.ctlz.i32, llvm.ctlz.i64
        llvm.cttz -> llvm.cttz.i8, llvm.cttz.i16, llvm.cttz.i32, llvm.cttz.i64
      New code should not use the overloaded intrinsic names. Warnings will be
      emitted if they are used.
      
      llvm-svn: 25366
      b4f9a6f1
Loading