Skip to content
  1. Jul 28, 2009
  2. Jul 27, 2009
  3. Jul 26, 2009
  4. Jul 25, 2009
    • Chris Lattner's avatar
      add the most expedient hack to fix PR4619, along with a testcase. · 2de95105
      Chris Lattner authored
      Thanks to Rafael for the great example.
      
      llvm-svn: 77083
      2de95105
    • Evan Cheng's avatar
      I've lost my mind. PR4572 has not been fixed. · 3b5791f9
      Evan Cheng authored
      llvm-svn: 77031
      3b5791f9
    • Evan Cheng's avatar
      Change Thumb2 jumptable codegen to one that uses two level jumps: · f3a1fce8
      Evan Cheng authored
      Before:
            adr r12, #LJTI3_0_0
            ldr pc, [r12, +r0, lsl #2]
      LJTI3_0_0:
            .long    LBB3_24
            .long    LBB3_30
            .long    LBB3_31
            .long    LBB3_32
      
      After:
            adr r12, #LJTI3_0_0
            add pc, r12, +r0, lsl #2
      LJTI3_0_0:
            b.w    LBB3_24
            b.w    LBB3_30
            b.w    LBB3_31
            b.w    LBB3_32
      
      This has several advantages.
      1. This will make it easier to optimize this to a TBB / TBH instruction +
         (smaller) table.
      2. This eliminate the need for ugly asm printer hack to force the address
         into thumb addresses (bit 0 is one).
      3. Same codegen for pic and non-pic.
      4. This eliminate the need to align the table so constantpool island pass
         won't have to over-estimate the size.
      
      Based on my calculation, the later is probably slightly faster as well since
      ldr pc with shifter address is very slow. That is, it should be a win as long
      as the HW implementation can do a reasonable job of branch predict the second
      branch.
      
      llvm-svn: 77024
      f3a1fce8
    • Evan Cheng's avatar
      Remove a duplicated test. · 8c8e88bd
      Evan Cheng authored
      llvm-svn: 77020
      8c8e88bd
    • Evan Cheng's avatar
      Forgot this test earlier. · 01740ab5
      Evan Cheng authored
      llvm-svn: 77007
      01740ab5
    • Evan Cheng's avatar
      Fix these tests. · aee0e1f4
      Evan Cheng authored
      llvm-svn: 77006
      aee0e1f4
  5. Jul 24, 2009
  6. Jul 23, 2009
  7. Jul 22, 2009
  8. Jul 21, 2009
Loading