Skip to content
  1. May 31, 2008
    • Nick Lewycky's avatar
      Yay us! Every one of these examples turns into icmp/zext/ret. · 69a51cbd
      Nick Lewycky authored
      llvm-svn: 51818
      69a51cbd
    • Chris Lattner's avatar
      Fix the CBE's handling of instructions whose result is an i1. Previously, · 666d6645
      Chris Lattner authored
      we did not truncate the value down to i1 with (x&1).  This caused a problem
      when the computation of x was nontrivial, for example, "add i1 1, 1" would 
      return 2 instead of 0.
      
      This makes the testcase compile into:
      
      ...
        llvm_cbe_t = (((llvm_cbe_r == 0u) + (llvm_cbe_r == 0u))&1);
        llvm_cbe_u = (((unsigned int )(bool )llvm_cbe_t));
      ...
      
      instead of:
      
      ...
        llvm_cbe_t = ((llvm_cbe_r == 0u) + (llvm_cbe_r == 0u));
        llvm_cbe_u = (((unsigned int )(bool )llvm_cbe_t));
      ...
      
      This fixes a miscompilation of mediabench/adpcm/rawdaudio/rawdaudio and
      403.gcc with the CBE, regressions from LLVM 2.2. Tanya, please pull 
      this into the release branch.
      
      llvm-svn: 51813
      666d6645
    • Dan Gohman's avatar
      Teach the DAGISelEmitter to not compute the variable_ops operand · bd3390c7
      Dan Gohman authored
      index for the input pattern in terms of the output pattern. Instead
      keep track of how many fixed operands the input pattern actually
      has, and have the input matching code pass the output-emitting
      function that index value. This simplifies the code, disentangles
      variables_ops from the support for predication operations, and
      makes variable_ops more robust.
      
      llvm-svn: 51808
      bd3390c7
    • Evan Cheng's avatar
      Fix indentation. · 864541aa
      Evan Cheng authored
      llvm-svn: 51792
      864541aa
  2. May 30, 2008
  3. May 29, 2008
  4. May 28, 2008
  5. May 27, 2008
  6. May 24, 2008
  7. May 23, 2008
Loading