Skip to content
  1. Apr 14, 2013
  2. Apr 13, 2013
    • Jakob Stoklund Olesen's avatar
      Define SPARC code models. · 15b3e900
      Jakob Stoklund Olesen authored
      Currently, only abs32 and pic32 are implemented. Add a test case for
      abs32 with 64-bit code. 64-bit PIC code is currently broken.
      
      llvm-svn: 179463
      15b3e900
    • Jakob Stoklund Olesen's avatar
      Use the correct types when matching ADDRri patterns from frame indexes. · 6a0a3eb5
      Jakob Stoklund Olesen authored
      It doesn't seem like anybody is checking types this late in isel, so no
      test case.
      
      llvm-svn: 179462
      6a0a3eb5
    • Howard Hinnant's avatar
    • Benjamin Kramer's avatar
      GlobalDCE: Fix an oversight in my last commit that could lead to crashes. · adc1727c
      Benjamin Kramer authored
      There is a Constant with non-constant operands: blockaddress.
      
      llvm-svn: 179460
      adc1727c
    • Sylvestre Ledru's avatar
      Remove the useless SRCROOT declaration from the call of... · b9555e8e
      Sylvestre Ledru authored
      Remove the useless SRCROOT declaration from the call of build-swig-wrapper-classes.sh & finish-swig-wrapper-classes.sh
      
      Two reasons for that:
      * the declaration is not used. the LLDB_SOURCE_DIR is provided as the first argument in the script ($1) (called SRC_ROOT in the source code)
      * add_custom_command is quoting the first argument of the command. Usually, it is the script itself (and then the full path to the script) but, here, it is the declaration of a variable.
      It was failing with:
      cd "/llvm-toolchain-3.3~svn179457/build-llvm/tools/lldb/scripts" && "SRCROOT=/llvm-toolchain-3.3~svn179457/tools/lldb" /llvm-toolchain-3.3~svn179457/tools/lldb/scripts/build-swig-wrapper-classes.sh /llvm-toolchain-3.3~svn179457/tools/lldb /llvm-toolchain-3.3~svn179457/build-llvm/tools/lldb/scripts /llvm-toolchain-3.3~svn179457/build-llvm/tools/lldb/scripts /llvm-toolchain-3.3~svn179457/build-llvm -m
      /bin/sh: 1: SRCROOT=/llvm-toolchain-3.3~svn179457/tools/lldb: not found
      
      llvm-svn: 179459
      b9555e8e
    • Benjamin Kramer's avatar
      Fix a scalability issue with complex ConstantExprs. · 89ca4bc6
      Benjamin Kramer authored
      This is basically the same fix in three different places. We use a set to avoid
      walking the whole tree of a big ConstantExprs multiple times.
      
      For example: (select cmp, (add big_expr 1), (add big_expr 2))
      We don't want to visit big_expr twice here, it may consist of thousands of
      nodes.
      
      The testcase exercises this by creating an insanely large ConstantExprs out of
      a loop. It's questionable if the optimizer should ever create those, but this
      can be triggered with real C code. Fixes PR15714.
      
      llvm-svn: 179458
      89ca4bc6
    • Hal Finkel's avatar
      Spill and restore PPC CR registers using the FP when we have one · d85a04b3
      Hal Finkel authored
      For functions that need to spill CRs, and have dynamic stack allocations, the
      value of the SP during the restore is not what it was during the save, and so
      we need to use the FP in these cases (as for all of the other spills and
      restores, but the CR restore has a special code path because its reserved slot,
      like the link register, is specified directly relative to the adjusted SP).
      
      llvm-svn: 179457
      d85a04b3
    • Andrew Trick's avatar
      Further generalize this scheduler test. · 3d957c0e
      Andrew Trick authored
      The order of copies depends on queue order, which is not very stable.
      
      llvm-svn: 179456
      3d957c0e
    • Andrew Trick's avatar
      Fix a dislexic regex. · e6f9fc0c
      Andrew Trick authored
      llvm-svn: 179455
      e6f9fc0c
    • Simon Atanasyan's avatar
      Remove duplicated comment. · e64a2b37
      Simon Atanasyan authored
      llvm-svn: 179454
      e64a2b37
Loading