Skip to content
  1. Dec 05, 2008
    • Evan Cheng's avatar
      Re-did 60519. It turns out Darwin's handling of hidden visibility symbols are... · 2a03c7e9
      Evan Cheng authored
      Re-did 60519. It turns out Darwin's handling of hidden visibility symbols are a bit more complicate than I expected. Both declarations and weak definitions still need a stub indirection. However, the stubs are in data section and they contain the addresses of the actual symbols.
      
      llvm-svn: 60571
      2a03c7e9
    • Scott Michel's avatar
      CellSPU: Add new directory under tests/CodeGen/CellSPU to retain tests that · 6ce01ab3
      Scott Michel authored
      aren't part of the test suite but are generally useful nonetheless, and can
      be expanded later to test the backend against the actual Cell SPU system.
      
      There's basically no other good place to put this code, so put it here for
      the time being.
      
      - vecoperations.c: Vector shuffles for all supported vector types, tests
        for v16i8 add and multiply.
      
      llvm-svn: 60566
      6ce01ab3
  2. Dec 04, 2008
    • Ted Kremenek's avatar
      Have raw_fd_ostream keep track of the position in the file to make tell() go... · 123a35a8
      Ted Kremenek authored
      Have raw_fd_ostream keep track of the position in the file to make tell() go faster by not requiring a flush().
      
      llvm-svn: 60560
      123a35a8
    • Devang Patel's avatar
      Enable LoopIndexSplit pass. · 8c84d282
      Devang Patel authored
      llvm-svn: 60555
      8c84d282
    • Devang Patel's avatar
      Rewrite code that 1) filters loops and 2) calculates new loop bounds. · c56423b5
      Devang Patel authored
      This fixes many bugs. I will add more test cases in a separate check-in.
      
      Some day, the code that manipulates CFG and updates dom. info could use refactoring help.
      
      llvm-svn: 60554
      c56423b5
    • Owen Anderson's avatar
      Factor out some common code. · 0bcbe8f6
      Owen Anderson authored
      llvm-svn: 60553
      0bcbe8f6
    • Scott Michel's avatar
      CellSPU: Fix bug 3055 · ea3c49d4
      Scott Michel authored
      - Add v4f32, v2f64 to LowerVECTOR_SHUFFLE
      - Look for vector rotate in shuffle elements, generate a vector rotate
        instead of a full-blown shuffle when opportunity presents itself.
      - Generate larger test harness and fix a few interesting but obscure bugs.
      
      llvm-svn: 60552
      ea3c49d4
    • Duncan Sands's avatar
      When allocating a stack temporary, use the correct · 471a6547
      Duncan Sands authored
      number of bytes for types such as i1 which are not
      a multiple of 8 bits in length.
      
      llvm-svn: 60543
      471a6547
    • Scott Michel's avatar
      Missing closing brace and reverse conditional condition on NDEBUG · 187250bd
      Scott Michel authored
      llvm-svn: 60541
      187250bd
    • Chris Lattner's avatar
      Start simplifying a switch that has a successor that is a switch. · 8f723670
      Chris Lattner authored
      llvm-svn: 60534
      8f723670
    • Chris Lattner's avatar
      This code is apparently quite confused. In the meantime, · 5cee4626
      Chris Lattner authored
      get it building when NDEBUG is set.
      
      llvm-svn: 60532
      5cee4626
    • Bill Wendling's avatar
      Temporarily revert r60519. It was causing a bootstrap failure: · 6949f613
      Bill Wendling authored
      /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/bin/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/lib/ -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/include -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/sys-include -DHAVE_CONFIG_H -I. -I../../../llvm-gcc.src/libgomp -I. -I../../../llvm-gcc.src/libgomp/config/posix -I../../../llvm-gcc.src/libgomp -Wall -pthread -Werror -O2 -g -O2 -MT barrier.lo -MD -MP -MF .deps/barrier.Tpo -c ../../../llvm-gcc.src/libgomp/barrier.c  -fno-common -DPIC -o .libs/barrier.o
      checking for sys/file.h... /var/folders/zG/zGE-ZJOGFiGjv0B5cs5oYE+++TM/-Tmp-//cc34Jg5P.s:13:non-relocatable subtraction expression, "_gomp_tls_key" minus "L1$pb"
      /var/folders/zG/zGE-ZJOGFiGjv0B5cs5oYE+++TM/-Tmp-//cc34Jg5P.s:13:symbol: "_gomp_tls_key" can't be undefined in a subtraction expression
      make[4]: *** [barrier.lo] Error 1
      make[4]: *** Waiting for unfinished jobs....
      /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/bin/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/lib/ -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/include -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.5.0/sys-include -DHAVE_CONFIG_H -I. -I../../../llvm-gcc.src/libgomp -I. -I../../../llvm-gcc.src/libgomp/config/posix -I../../../llvm-gcc.src/libgomp -Wall -pthread -Werror -O2 -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c ../../../llvm-gcc.src/libgomp/alloc.c -o alloc.o >/dev/null 2>&1
      yes
      checking for sys/param.h... make[3]: *** [all-recursive] Error 1
      make[2]: *** [all] Error 2
      make[1]: *** [all-target-libgomp] Error 2
      make[1]: *** Waiting for unfinished jobs....
      
      llvm-svn: 60527
      6949f613
    • Scott Michel's avatar
      CellSPU: · 40f54d22
      Scott Michel authored
      - First patch from Nehal Desai, a new contributor at Aerospace. Nehal's patch
        fixes sign/zero/any-extending loads for integers and floating point. Example
        code, compiled w/o debugging or optimization where he first noticed the bug:
      
        int main(void) {
          float a = 99.0;
          printf("%d\n", a);
          return 0;
        }
      
        Verified that this code actually works on a Cell SPU.
      
      Changes by Scott Michel:
      - Fix bug in the value type list constructed by SPUISD::LDRESULT to include
        both the load result's result and chain, not just the chain alone.
      - Simplify LowerLOAD and remove extraneous and unnecessary chains.
      - Remove unused SPUISD pseudo instructions.
      
      llvm-svn: 60526
      40f54d22
    • Dan Gohman's avatar
      Use register names instead of numbers in debug output. · 44f57df2
      Dan Gohman authored
      llvm-svn: 60525
      44f57df2
    • Dan Gohman's avatar
      Make debug output more informative. · 30cad9c1
      Dan Gohman authored
      llvm-svn: 60524
      30cad9c1
    • Evan Cheng's avatar
    • Dan Gohman's avatar
      Add minimal support for disambiguating memory references. Currently · 3aab10b9
      Dan Gohman authored
      the main thing this covers is spills to distinct spill slots.
      
      llvm-svn: 60517
      3aab10b9
    • Chris Lattner's avatar
      add a debugging option to help track down j-t problems. · 75c2661d
      Chris Lattner authored
      llvm-svn: 60514
      75c2661d
    • Dan Gohman's avatar
      Rewrite the liveness bookkeeping code to fix a bunch of · 84efaf6a
      Dan Gohman authored
      issues with subreg operands and tied operands.
      
      llvm-svn: 60510
      84efaf6a
  3. Dec 03, 2008
Loading