Skip to content
  1. Apr 16, 2010
    • Gabor Greif's avatar
      reapply r101434 · f375520f
      Gabor Greif authored
      with a fix for self-hosting
      
      rotate CallInst operands, i.e. move callee to the back
      of the operand array
      
      the motivation for this patch are laid out in my mail to llvm-commits:
      more efficient access to operands and callee, faster callgraph-construction,
      smaller compiler binary
      
      llvm-svn: 101465
      f375520f
    • Bill Wendling's avatar
      The JIT calls TidyLandingPads to tidy up the landing pads. However, because the · 929f3c09
      Bill Wendling authored
      JIT doesn't use the MC back-end asm printer to emit labels that it uses, the
      section for the MCSymbol is never set. And thus the MCSymbol for the EH label
      isn't marked as "defined". Because of that, TidyLandingPads removes the needed
      landing pads from the JIT output. This breaks EH for every JIT program.
      
      This is a work-around for this limitation. We pass in the label locations
      map. If the label has a non-zero value, then it was "emitted" by the JIT and
      TidyLandingPads shouldn't remove that label.
      
      A nicer solution would be to mark the MCSymbol as "used" by the JIT and not rely
      upon the section being set to determine if it's defined or not.
      
      llvm-svn: 101453
      929f3c09
    • Evan Cheng's avatar
      Adding support for dag combiner to promote operations for profit. This... · af56faca
      Evan Cheng authored
      Adding support for dag combiner to promote operations for profit. This requires target specific queries. For example, x86 should promote i16 to i32 when it does not impact load folding.
      x86 support is off by default. It can be enabled with -promote-16bit.
      
      Work in progress.
      
      llvm-svn: 101448
      af56faca
    • Dan Gohman's avatar
      Refine further the scope where the global DebugLoc value is active. · 55634730
      Dan Gohman authored
      llvm-svn: 101443
      55634730
    • Gabor Greif's avatar
      403e9694
    • Jakob Stoklund Olesen's avatar
      Avoid sinking machine instructions into a loop. · cdc3df48
      Jakob Stoklund Olesen authored
      MachineLoopInfo is already available when MachineSinking runs, so the check is
      free.
      
      There is no test case because it would require a critical edge into a loop, and
      CodeGenPrepare splits those. This check is just to be extra careful.
      
      llvm-svn: 101420
      cdc3df48
  2. Apr 15, 2010
  3. Apr 14, 2010
Loading