Skip to content
  1. Jul 20, 2011
  2. Jul 19, 2011
  3. Jul 18, 2011
    • Jeffrey Yasskin's avatar
      Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future ambiguity · 7a162881
      Jeffrey Yasskin authored
      errors like the one corrected by r135261.  Migrate all LLVM callers of the old
      constructor to the new one.
      
      llvm-svn: 135431
      7a162881
    • Evan Cheng's avatar
      Sink getDwarfRegNum, getLLVMRegNum, getSEHRegNum from TargetRegisterInfo down · d60fa58b
      Evan Cheng authored
      to MCRegisterInfo. Also initialize the mapping at construction time.
      
      This patch eliminate TargetRegisterInfo from TargetAsmInfo. It's another step
      towards fixing the layering violation.
      
      llvm-svn: 135424
      d60fa58b
    • Devang Patel's avatar
      · 4dc76f24
      Devang Patel authored
      During bottom up fast-isel, instructions emitted to materalize registers are at top of basic block and do not have debug location. This may misguide debugger while entering the basic block and sometimes debugger provides semi useful view of current location to developer by picking up previous known location as current location. Assign a sensible location to the first instruction in a basic block, if it does not have one location derived from source file, so that debugger can provide meaningful user experience to developers in edge cases.
      [take 2]
      
      llvm-svn: 135423
      4dc76f24
    • Jakob Stoklund Olesen's avatar
      Fix a crash when building 177.mesa for armv6. · c45d38e1
      Jakob Stoklund Olesen authored
      When splitting a live range immediately before an LDR_POST instruction
      that redefines the address register, make sure to use the correct value
      number in leaveIntvBefore.
      
      We need the value number entering the instruction.
      
      <rdar://problem/9793765>
      
      llvm-svn: 135413
      c45d38e1
    • Frits van Bommel's avatar
      Migrate LLVM and Clang to use the new makeArrayRef(...) functions where... · 717d7edd
      Frits van Bommel authored
      Migrate LLVM and Clang to use the new makeArrayRef(...) functions where previously explicit non-default constructors were used.
      Mostly mechanical with some manual reformatting.
      
      llvm-svn: 135390
      717d7edd
    • Jakob Stoklund Olesen's avatar
      Fix PR10387. · c0dd3da9
      Jakob Stoklund Olesen authored
      When trying to rematerialize a value before an instruction that has an
      early-clobber redefine of the virtual register, make sure to look up the
      correct value number.
      
      Early-clobber defs are moved one slot back, so getBaseIndex is needed to
      find the used value number.
      
      Bugpoint was unable to reduce the test case for this, see PR10388.
      
      llvm-svn: 135378
      c0dd3da9
    • Chris Lattner's avatar
      land David Blaikie's patch to de-constify Type, with a few tweaks. · 229907cd
      Chris Lattner authored
      llvm-svn: 135375
      229907cd
  4. Jul 17, 2011
  5. Jul 16, 2011
  6. Jul 15, 2011
  7. Jul 14, 2011
    • Eric Christopher's avatar
      Check register class matching instead of width of type matching · 92464be2
      Eric Christopher authored
      when determining validity of matching constraint. Allow i1
      types access to the GR8 reg class for x86.
      
      Fixes PR10352 and rdar://9777108
      
      llvm-svn: 135180
      92464be2
    • Benjamin Kramer's avatar
      Change Intrinsic::getDeclaration and friends to take an ArrayRef. · e6e1933f
      Benjamin Kramer authored
      llvm-svn: 135154
      e6e1933f
    • Nadav Rotem's avatar
      · 771f2967
      Nadav Rotem authored
      [VECTOR-SELECT]
      During type legalization we often use the SIGN_EXTEND_INREG SDNode.
      When this SDNode is legalized during the LegalizeVector phase, it is
      scalarized because non-simple types are automatically marked to be expanded.
      In this patch we add support for lowering SIGN_EXTEND_INREG manually.
      This fixes CodeGen/X86/vec_sext.ll when running with the '-promote-elements'
      flag.
      
      llvm-svn: 135144
      771f2967
    • Nadav Rotem's avatar
      Add assertion for the chain value type · db213c04
      Nadav Rotem authored
      llvm-svn: 135143
      db213c04
    • Jakob Stoklund Olesen's avatar
      Reapply r135121 with a fixed copy constructor. · a153ca58
      Jakob Stoklund Olesen authored
      Original commit message:
      
      Count references to interference cache entries.
      
      Each InterferenceCache::Cursor instance references a cache entry. A
      non-zero reference count guarantees that the entry won't be reused for a
      new register.
      
      This makes it possible to have multiple live cursors examining
      interference for different physregs.
      
      The total number of live cursors into a cache must be kept below
      InterferenceCache::getMaxCursors().
      
      Code generation should be unaffected by this change, and it doesn't seem
      to affect the cache replacement strategy either.
      
      llvm-svn: 135130
      a153ca58
Loading