Skip to content
  1. Jan 28, 2008
  2. Jan 27, 2008
  3. Jan 26, 2008
    • Bill Wendling's avatar
      If there are no machine instructions emitted for a function, then insert · 50794839
      Bill Wendling authored
      a "nop" instruction so that we don't have the function's label associated
      with something that it's not supposed to be associated with.
      
      llvm-svn: 46394
      50794839
    • Duncan Sands's avatar
      Create an explicit copy for byval parameters even · c4dc3dc3
      Duncan Sands authored
      when inlining a readonly function.
      
      llvm-svn: 46393
      c4dc3dc3
    • Bill Wendling's avatar
      If we have a function like this: · 0862e342
      Bill Wendling authored
      void bork() {
        int *address = 0;
        *address = 0;
      }
      
      It's compiled into LLVM code that looks like this:
      
      define void @bork() noreturn nounwind  {
      entry:
              unreachable
      }
      
      This is bad on some platforms (like PPC) because it will generate the label for
      the function but no body. The label could end up being associated with some
      non-code related stuff, like a section. This places a "trap" instruction if the
      SimplifyCFG pass removed all code from the function leaving only one
      "unreachable" instruction.
      
      llvm-svn: 46387
      0862e342
  4. Jan 25, 2008
  5. Jan 22, 2008
  6. Jan 20, 2008
  7. Jan 17, 2008
  8. Jan 16, 2008
  9. Jan 14, 2008
  10. Jan 13, 2008
  11. Jan 12, 2008
  12. Jan 11, 2008
Loading