Skip to content
  1. Sep 23, 2011
  2. Sep 22, 2011
    • Benjamin Kramer's avatar
      Add support for CPATH and friends. · 8404eb0b
      Benjamin Kramer authored
      This moves the existing code for CPATH into the driver and adds the environment lookup and path splitting there.
      The paths are then passed down to cc1 with -I options (CPATH), added after the normal user-specified include dirs.
      Language specific paths are passed via -LANG-isystem and the actual filtering is performed in the frontend.
      
      I tried to match GCC's behavior as close as possible
      
      Fixes PR8971.
      
      llvm-svn: 140341
      8404eb0b
    • Jakob Stoklund Olesen's avatar
      Constrain register classes instead of emitting copies. · e92e5ee8
      Jakob Stoklund Olesen authored
      Sometimes register class constraints are trivial, like GR32->GR32_NOSP,
      or GPR->rGPR.  Teach InstrEmitter to simply constrain the virtual
      register instead of emitting a copy in these cases.
      
      Normally, these copies are handled by the coalescer.  This saves some
      coalescer work.
      
      llvm-svn: 140340
      e92e5ee8
    • Jakob Stoklund Olesen's avatar
      Add a MinNumRegs argument to MRI::constrainRegClass(). · 0f36544c
      Jakob Stoklund Olesen authored
      The function will refuse to use a register class with fewer registers
      than MinNumRegs.  This can be used by clients to avoid accidentally
      increase register pressure too much.
      
      The default value of MinNumRegs=0 doesn't affect how constrainRegClass()
      works.
      
      llvm-svn: 140339
      0f36544c
    • Greg Clayton's avatar
      16abd328
Loading