Skip to content
  1. Jan 31, 2010
  2. Jan 30, 2010
  3. Jan 29, 2010
  4. Jan 28, 2010
    • Bill Wendling's avatar
      Assign the ordering of SDNodes in a much less intrusive fashion. After the · 954cb187
      Bill Wendling authored
      "visit*" method is called, take the newly created nodes, walk them in a DFS
      fashion, and if they don't have an ordering set, then give it one.
      
      llvm-svn: 94757
      954cb187
    • Dan Gohman's avatar
      Remove the folding rule · a424b9fb
      Dan Gohman authored
        getelementptr (i8* inttoptr (i64 1 to i8*), i32 -1) 
        to
        inttoptr (i64 0 to i8*)
      from the VMCore constant folder. It didn't handle sign-extension properly
      in the case where the source integer is smaller than a pointer size. And,
      it relied on an assumption about sizeof(i8).
      
      The Analysis constant folder still folds these kinds of things; it has
      access to TargetData, so it can do them right.
      
      Add a testcase which tests that the VMCore constant folder doesn't
      miscompile this, and that the Analysis folder does fold it.
      
      llvm-svn: 94750
      a424b9fb
Loading