Skip to content
  1. Jan 10, 2014
  2. Jan 09, 2014
  3. Jan 08, 2014
  4. Jan 07, 2014
    • Rafael Espindola's avatar
      Move the llvm mangler to lib/IR. · 894843cb
      Rafael Espindola authored
      This makes it available to tools that don't link with target (like llvm-ar).
      
      llvm-svn: 198708
      894843cb
    • Rafael Espindola's avatar
      Don't assert with private type info variables. · 170a6e79
      Rafael Espindola authored
      With the gnu objc runtime private strings are used. Since we only need to
      produce a unique label, the fix is to just drop the asserts.
      
      llvm-svn: 198701
      170a6e79
    • David Peixotto's avatar
      Add ARM fconsts/fconstd aliases for vmov.f32/vmov.f64 · a872e0e0
      David Peixotto authored
      This commit adds the pre-UAL aliases of fconsts and fconstd for
      vmov.f32 and vmov.f64. They use an InstAlias rather than a
      MnemonicAlias to properly support the predicate operand.
      
      We need to support encoded 8-bit constants in order to implement the
      pre-UAL fconsts/fconstd aliases for vmov.f32/vmov.f64, so this
      commit also fixes parsing of encoded floating point constants used
      in vmov.f32/vmov.f64 instructions. Now we can support assembly code
      like this:
      
        fconsts s0, #0x70
      
      which is equivalent to vmov.f32 s0, #1.0.
      
      Most of the code was already in place to support this feature.
      Previously the code was trying to accept encoded 8-bit float
      constants for the vmov.f32/vmov.f64 instructions.  It looks like the
      support for parsing encoded floats was lost in a refactoring in
      commit r148556 and we did not have any tests in place to catch it.
      
      The change in this commit is to keep the parsed value as a 32-bit
      float instead of a 64-bit double because that is what the isFPImm()
      function expects to find. There is no loss of precision by using a
      32-bit float here because we are still limited to an 8-bit encoded
      value in the end.
      
      Additionally, we explicitly reject encoded 8-bit floats for
      vmovf.32/64. This is the same as the current behavior, but we now do
      it explicitly rather than accidently.
      
      llvm-svn: 198697
      a872e0e0
    • Logan Chien's avatar
      [arm] Fix an incorrect comment in ARMUnwindOpAsm.h. · 2da10213
      Logan Chien authored
      llvm-svn: 198696
      2da10213
    • Chandler Carruth's avatar
      Move the LLVM IR asm writer header files into the IR directory, as they · 9aca918d
      Chandler Carruth authored
      are part of the core IR library in order to support dumping and other
      basic functionality.
      
      Rename the 'Assembly' include directory to 'AsmParser' to match the
      library name and the only functionality left their -- printing has been
      in the core IR library for quite some time.
      
      Update all of the #includes to match.
      
      All of this started because I wanted to have the layering in good shape
      before I started adding support for printing LLVM IR using the new pass
      infrastructure, and commandline support for the new pass infrastructure.
      
      llvm-svn: 198688
      9aca918d
    • Chandler Carruth's avatar
      Re-sort all of the includes with ./utils/sort_includes.py so that · 8a8cd2ba
      Chandler Carruth authored
      subsequent changes are easier to review. About to fix some layering
      issues, and wanted to separate out the necessary churn.
      
      Also comment and sink the include of "Windows.h" in three .inc files to
      match the usage in Memory.inc.
      
      llvm-svn: 198685
      8a8cd2ba
    • Hao Liu's avatar
      [AArch64]Add support to spill/fill D tuples such as DPair/DTriple/DQuad. There... · 7d11d99d
      Hao Liu authored
      [AArch64]Add support to spill/fill D tuples such as DPair/DTriple/DQuad. There is no test cases for D tuple as the original test cases are too large. As the spill/fill of the D tuple is similar to the Q tuple, the correctness can be guaranteed.
      
      llvm-svn: 198684
      7d11d99d
    • Hao Liu's avatar
      [AArch64]Add support to copy D tuples such as DPair/DTriple/DQuad and Q tuples... · 27d88376
      Hao Liu authored
      [AArch64]Add support to copy D tuples such as DPair/DTriple/DQuad and Q tuples such as QPair/QTriple/QQuad. There is no test case for D tuple as the original test cases are too large. As the copy of the D tuple is similar to the Q tuple, the correctness can be guaranteed.
      
      llvm-svn: 198682
      27d88376
    • Venkatraman Govindaraju's avatar
      [Sparc] Add support for parsing sparc asm modifiers such as %hi, %lo etc., · 559c4ac3
      Venkatraman Govindaraju authored
      Also, correct the offsets for FixupsKindInfo.
      
      llvm-svn: 198681
      559c4ac3
    • Kevin Qin's avatar
      [AArch64 NEON] Fixed incorrect immediate used in BIC instruction. · cfa41a25
      Kevin Qin authored
      llvm-svn: 198675
      cfa41a25
    • Saleem Abdulrasool's avatar
      ARM IAS: allow more depth in contextual diagnostics · 4cb063cb
      Saleem Abdulrasool authored
      Switch the context to be SmallVectors.  This allows for saving additional
      context when providing previous emission sites.
      
      llvm-svn: 198665
      4cb063cb
Loading