Skip to content
  1. Feb 14, 2008
  2. Feb 13, 2008
  3. Feb 12, 2008
  4. Feb 10, 2008
  5. Feb 08, 2008
  6. Feb 06, 2008
  7. Feb 05, 2008
  8. Feb 04, 2008
  9. Feb 03, 2008
  10. Feb 01, 2008
  11. Jan 30, 2008
  12. Jan 29, 2008
  13. Jan 28, 2008
  14. Jan 27, 2008
  15. 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
Loading