Skip to content
  1. Dec 18, 2012
    • Richard Smith's avatar
      Rein ubsan's vptr sanitizer back a bit. Per core issue 453, binding a reference · be024a81
      Richard Smith authored
      to an object outside its lifetime does not have undefined behavior.
      
      llvm-svn: 170387
      be024a81
    • Jakob Stoklund Olesen's avatar
      Extract a method, no functional change intended. · 43b1e133
      Jakob Stoklund Olesen authored
      Sadly, this costs us a perfectly good opportunity to use 'goto'.
      
      llvm-svn: 170385
      43b1e133
    • Jakob Stoklund Olesen's avatar
      Tighten up the erase/remove API for bundled instructions. · ccfb5fb4
      Jakob Stoklund Olesen authored
      Most code is oblivious to bundles and uses the MBB::iterator which only
      visits whole bundles. MBB::erase() operates on whole bundles at a time
      as before.
      
      MBB::remove() now refuses to remove bundled instructions. It is not safe
      to remove all instructions in a bundle without deleting them since there
      is no way of returning pointers to all the removed instructions.
      
      MBB::remove_instr() and MBB::erase_instr() will now update bundle flags
      correctly, lifting individual instructions out of bundles while leaving
      the remaining bundle intact.
      
      The MachineInstr convenience functions are updated so
      
        eraseFromParent() erases a whole bundle as before
        eraseFromBundle() erases a single instruction, leaving the rest of its bundle.
        removeFromParent() refuses to operate on bundled instructions, and
        removeFromBundle() lifts a single instruction out of its bundle.
      
      These functions will no longer accidentally split or coalesce bundles -
      bundle flags are updated to preserve the existing bundling, and explicit
      bundleWith* / unbundleFrom* functions should be used to change the
      instruction bundling.
      
      This API update is still a work in progress. I am going to update APIs
      first so they maintain bundle flags automatically when possible. Then
      I'll add stricter verification of the bundle flags.
      
      llvm-svn: 170384
      ccfb5fb4
    • Reed Kotler's avatar
      EmitDebugLabel should by default be the same as EmitLabel everywhere. · 0c1745e5
      Reed Kotler authored
      It must be explicity set in MCPureStreamer because otherwise it will
      inherit incorrectly from the parent.
      
      llvm-svn: 170383
      0c1745e5
  2. Dec 17, 2012
Loading