Skip to content
  1. Jul 10, 2009
    • Dan Gohman's avatar
      Add a ConstantSignedRange class, which does for signed integers · 5035fbf9
      Dan Gohman authored
      what ConstantRange does for unsigned integers. Factor out a
      common base class for common functionality.
      
      Add some new functions for performing arithmetic on constant
      ranges. Some of these are currently just stubbed out with
      conservative implementations.
      
      Add unittests for ConstantRange and ConstantSignedRange.
      
      llvm-svn: 75177
      5035fbf9
    • Eli Friedman's avatar
      Make EXTRACT_VECTOR_ELT a bit more flexible in terms of the returned · 2b77eef1
      Eli Friedman authored
      value.  Adjust other code to deal with that correctly.  Make 
      DAGTypeLegalizer::PromoteIntRes_EXTRACT_VECTOR_ELT take advantage of 
      this new flexibility to simplify the code and make it deal with unusual 
      vectors (like <4 x i1>) correctly.  Fixes PR3037.
      
      llvm-svn: 75176
      2b77eef1
  2. Jul 09, 2009
Loading