Skip to content
  1. Sep 24, 2012
    • Chandler Carruth's avatar
      Address one of the original FIXMEs for the new SROA pass by implementing · 92924fd2
      Chandler Carruth authored
      integer promotion analogous to vector promotion. When there is an
      integer alloca being accessed both as its integer type and as a narrower
      integer type, promote the narrower access to "insert" and "extract" the
      smaller integer from the larger one, and make the integer alloca
      a candidate for promotion.
      
      In the new formulation, we don't care about target legal integer or use
      thresholds to control things. Instead, we only perform this promotion to
      an integer type which the frontend has already emitted a load or store
      for. This bounds the scope and prevents optimization passes from
      coalescing larger and larger entities into a single integer.
      
      llvm-svn: 164479
      92924fd2
    • NAKAMURA Takumi's avatar
      unittests/AST/StmtPrinterTest.cpp: Suppress a LP64-assumed test,... · f5a898c3
      NAKAMURA Takumi authored
      unittests/AST/StmtPrinterTest.cpp: Suppress a LP64-assumed test, "0x100000000i128 => 4294967296L", for now.
      
      LONG_MAX is 2147483647L on common 32 bit and LLP64 (Windows x64).
      
      llvm-svn: 164478
      f5a898c3
  2. Sep 23, 2012
  3. Sep 22, 2012
Loading