Skip to content
  1. Jan 29, 2014
  2. Jan 28, 2014
    • Matheus Almeida's avatar
      [mips] Fix ELF header flags. · 2e03f243
      Matheus Almeida authored
      As opposed to GCC/GAS the default ABI for Mips64 is n64.
      Compatibility bit should be set if o32 ABI is used when targeting Mips64.
      
      llvm-svn: 200332
      2e03f243
    • Gautam Chakrabarti's avatar
      [NVPTX] Fix emitting aggregate parameters · 2c283400
      Gautam Chakrabarti authored
      The code was missing the case for aggregate parameters and
      hence was emitting them as .b0 type. Also fixed a couple
      of comments.
      
      llvm-svn: 200325
      2c283400
    • Andrea Di Biagio's avatar
      [X86] Add extra rules for combining vselect dag nodes into movsd. · 2ea61f17
      Andrea Di Biagio authored
      This improves the fix committed at revision 199683 adding the
      following new target specific combine rules:
      
      1) fold (v4i32: vselect <0,0,-1,-1>, A, B) ->
              (v4i32 (bitcast (movsd (v2i64 (bitcast A)), (v2i64 (bitcast B))) ))
      
      2) fold (v4f32: vselect <0,0,-1,-1>, A, B) ->
              (v4f32 (bitcast (movsd (v2f64 (bitcast A)), (v2f64 (bitcast B))) ))
      
      3) fold (v4i32: vselect <-1,-1,0,0>, A, B) ->
              (v4i32 (bitcast (movsd (v2i64 (bitcast B)), (v2i64 (bitcast A))) ))
      
      4) fold (v4f32: vselect <-1,-1,0,0>, A, B) ->
              (v4f32 (bitcast (movsd (v2i64 (bitcast B)), (v2i64 (bitcast A))) ))
      
      llvm-svn: 200324
      2ea61f17
    • Iain Sandoe's avatar
      Provide a stub Target Streamer implementation for PPC MachO · 625b65a9
      Iain Sandoe authored
      At present, this handles .tc (error) and needs to be expanded to deal properly with .machine
      
      llvm-svn: 200309
      625b65a9
    • Hal Finkel's avatar
      Handle spilling the PPC GPRC_NOR0 register class · 4e703bce
      Hal Finkel authored
      GPRC_NOR0 is not a subclass of GPRC (because it also contains the ZERO pseudo
      register). As a result, we also need to check for it in the spilling code.
      
      llvm-svn: 200288
      4e703bce
    • Michel Danzer's avatar
      R600/SI: Add pattern for truncating i32 to i1 · bf1a6410
      Michel Danzer authored
      
      
      Fixes half a dozen piglit tests with radeonsi.
      
      Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
      llvm-svn: 200283
      bf1a6410
    • Jakob Stoklund Olesen's avatar
      Fix the DWARF EH encodings for Sparc PIC code. · 83c67735
      Jakob Stoklund Olesen authored
      Also emit the stubs that were generated for references to typeinfo
      symbols.
      
      llvm-svn: 200282
      83c67735
    • Reid Kleckner's avatar
      x86: add implicit defs for cpuid · b2340d4c
      Reid Kleckner authored
      This avoids miscompiling MS inline asm in LLVM where we have to infer
      clobbers.  Test case forthcoming in Clang.
      
      llvm-svn: 200279
      b2340d4c
    • Juergen Ributzka's avatar
      [TLI] Add a new hook to TargetLowering to query the target if a load of a... · 659ce00d
      Juergen Ributzka authored
      [TLI] Add a new hook to TargetLowering to query the target if a load of a constant should be converted to simply the constant itself.
      
      Before this patch we used getIntImmCost from TargetTransformInfo to determine if
      a load of a constant should be converted to just a constant, but the threshold
      for this was set to an arbitrary value. This value works well for the two
      targets (X86 and ARM) that implement this target-hook, but it isn't
      target-independent at all.
      
      Now targets have the possibility to decide directly if this optimization should
      be performed. The default value is set to false to preserve the current
      behavior. The target hook has been moved to TargetLowering, which removed the
      last use and need of TargetTransformInfo in SelectionDAG.
      
      llvm-svn: 200271
      659ce00d
    • Eric Christopher's avatar
      Revert r199871 and replace it with a simple check in the debug info · 2037caf8
      Eric Christopher authored
      code to see if we're emitting a function into a non-default
      text section. This is still a less-than-ideal solution, but more
      contained than r199871 to determine whether or not we're emitting
      code into an array of comdat sections.
      
      llvm-svn: 200269
      2037caf8
  3. Jan 27, 2014
  4. Jan 26, 2014
Loading