| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Patches to build EFI with Clang/LLVM. By Carl Norum. | Evan Cheng | 2011-02-01 | 6 | -16/+36 |
| | | | | | llvm-svn: 124639 | ||||
| * | Keep track of incoming argument's location while emitting LiveIns. | Devang Patel | 2011-01-31 | 6 | -25/+25 |
| | | | | | llvm-svn: 124611 | ||||
| * | Fix vector sign extend to put the source and destination types in the | David Greene | 2011-01-31 | 1 | -3/+3 |
| | | | | | | | correct places. llvm-svn: 124601 | ||||
| * | add a note, progress unblocked by PR8575 being fixed. | Chris Lattner | 2011-01-31 | 1 | -0/+48 |
| | | | | | llvm-svn: 124599 | ||||
| * | Save a mapping between original and cloned constpool entries. | Anton Korobeynikov | 2011-01-30 | 2 | -0/+25 |
| | | | | | llvm-svn: 124570 | ||||
| * | Teach DAGCombine to fold fold (sra (trunc (sr x, c1)), c2) -> (trunc (sra x, ↵ | Benjamin Kramer | 2011-01-30 | 1 | -21/+0 |
| | | | | | | | | | | | | | | | | | | | c1+c2) when c1 equals the amount of bits that are truncated off. This happens all the time when a smul is promoted to a larger type. On x86-64 we now compile "int test(int x) { return x/10; }" into movslq %edi, %rax imulq $1717986919, %rax, %rax movq %rax, %rcx shrq $63, %rcx sarq $34, %rax <- used to be "shrq $32, %rax; sarl $2, %eax" addl %ecx, %eax This fires 96 times in gcc.c on x86-64. llvm-svn: 124559 | ||||
| * | PR9030: Fix disassembly of ARM "mov pc, lr" instruction. | Bob Wilson | 2011-01-28 | 1 | -2/+2 |
| | | | | | | | Patch by Jyun-Yan You. llvm-svn: 124492 | ||||
| * | Fix PLD encoding. | Evan Cheng | 2011-01-27 | 1 | -2/+2 |
| | | | | | llvm-svn: 124458 | ||||
| * | Changed llvm-mc arm target to give an error if .syntax divided is used. Since | Kevin Enderby | 2011-01-27 | 1 | -1/+1 |
| | | | | | | | only .syntax unified is supported. llvm-svn: 124454 | ||||
| * | [AVX] Clean up the code to configure target lowering for AVX. Specify | David Greene | 2011-01-27 | 1 | -73/+47 |
| | | | | | | | | how to lower more/new operations. This is a prerequisite for adding additional AVX lowering. llvm-svn: 124447 | ||||
| * | Introduce virtual ParseRegister method in TargetAsmParser. | Roman Divacky | 2011-01-27 | 3 | -6/+19 |
| | | | | | | | Create override of this method in X86/ARM/MBlaze. llvm-svn: 124378 | ||||
| * | Use the incoming VT not the VT of where we're trying to store to determine | Eric Christopher | 2011-01-27 | 1 | -2/+2 |
| | | | | | | | | | if we can store a value. Also, the exclusion is or, not and. Fixes rdar://8920247. llvm-svn: 124357 | ||||
| * | lib/Target/X86/X86ISelDAGToDAG.cpp: __main should be WINCALL64 on Win64. | NAKAMURA Takumi | 2011-01-27 | 1 | -1/+1 |
| | | | | | | | CALL64 marks %xmm* as dead. llvm-svn: 124354 | ||||
| * | Add support for printing out floating point values from the ARM assembly | Bill Wendling | 2011-01-26 | 1 | -2/+27 |
| | | | | | | | | parser. The parser will always give us a binary representation of the floating point number. llvm-svn: 124318 | ||||
| * | [AVX] Add INSERT_SUBVECTOR and support it on x86. This provides a | David Greene | 2011-01-26 | 2 | -1/+23 |
| | | | | | | | | | default implementation for x86, going through the stack in a similr fashion to how the codegen implements BUILD_VECTOR. Eventually this will get matched to VINSERTF128 if AVX is available. llvm-svn: 124307 | ||||
| * | [AVX] Support EXTRACT_SUBVECTOR on x86. This provides a default | David Greene | 2011-01-26 | 2 | -0/+13 |
| | | | | | | | | | implementation of EXTRACT_SUBVECTOR for x86, going through the stack in a similr fashion to how the codegen implements BUILD_VECTOR. Eventually this will get matched to VEXTRACTF128 if AVX is available. llvm-svn: 124292 | ||||
| * | fix the encoding and add testcases for ARM nop, yield, wfe and wfi instructions | Bruno Cardoso Lopes | 2011-01-26 | 1 | -0/+1 |
| | | | | | llvm-svn: 124288 | ||||
| * | Add needed braces. | Bill Wendling | 2011-01-26 | 1 | -1/+2 |
| | | | | | llvm-svn: 124273 | ||||
| * | Target/X86: Tweak win64's tailcall. | NAKAMURA Takumi | 2011-01-26 | 7 | -12/+49 |
| | | | | | llvm-svn: 124272 | ||||
| * | Fix whitespace. | NAKAMURA Takumi | 2011-01-26 | 6 | -132/+129 |
| | | | | | llvm-svn: 124270 | ||||
| * | lib/Target/X86/X86RegisterInfo.cpp: Fix whitespace. | NAKAMURA Takumi | 2011-01-26 | 1 | -3/+3 |
| | | | | | llvm-svn: 124268 | ||||
| * | lib/Target/X86/X86RegisterInfo.cpp: Fix a typo in comment. | NAKAMURA Takumi | 2011-01-26 | 1 | -1/+1 |
| | | | | | llvm-svn: 124267 | ||||
| * | Revert 124230. It was causing test failures. | Bill Wendling | 2011-01-25 | 1 | -4/+2 |
| | | | | | llvm-svn: 124233 | ||||
| * | The floating point value is encoded in its binary form as an Imm. Convert it | Bill Wendling | 2011-01-25 | 1 | -2/+4 |
| | | | | | | | appropriately so that it prints out the decimal representation. llvm-svn: 124230 | ||||
| * | Don't merge restore with tail call instruction. | Evan Cheng | 2011-01-25 | 1 | -1/+6 |
| | | | | | llvm-svn: 124167 | ||||
| * | Provide correct registers for EH stuff on ARM | Anton Korobeynikov | 2011-01-24 | 1 | -3/+4 |
| | | | | | llvm-svn: 124151 | ||||
| * | fix a missing shuffle pattern, PR9009. Patch by Artiom Myaskouvskey! | Chris Lattner | 2011-01-24 | 1 | -0/+3 |
| | | | | | llvm-svn: 124102 | ||||
| * | this isn't a memset, we do convert dest[i] to one though :) | Chris Lattner | 2011-01-24 | 1 | -8/+0 |
| | | | | | llvm-svn: 124097 | ||||
| * | with recent work, we now optimize this into: | Chris Lattner | 2011-01-24 | 1 | -20/+0 |
| | | | | | | | | | | | | define i32 @foo(i32 %x) nounwind readnone ssp { entry: %tobool = icmp eq i32 %x, 0 %tmp5 = select i1 %tobool, i32 2, i32 1 ret i32 %tmp5 } llvm-svn: 124091 | ||||
| * | Add a memset loop that LoopIdiomRecognize doesn't recognize. | Anders Carlsson | 2011-01-23 | 1 | -0/+8 |
| | | | | | llvm-svn: 124082 | ||||
| * | Initialize MCNoExecStack. | Rafael Espindola | 2011-01-23 | 1 | -0/+1 |
| | | | | | llvm-svn: 124079 | ||||
| * | Add support for the --noexecstack option. | Rafael Espindola | 2011-01-23 | 4 | -7/+12 |
| | | | | | llvm-svn: 124077 | ||||
| * | Null initialize a few variables flagged by | Ted Kremenek | 2011-01-23 | 3 | -3/+3 |
| | | | | | | | | | | | clang's -Wuninitialized-experimental warning. While these don't look like real bugs, clang's -Wuninitialized-experimental analysis is stricter than GCC's, and these fixes have the benefit of being general nice cleanups. llvm-svn: 124073 | ||||
| * | Delay the creation of eh_frame so that the user can change the defaults. | Rafael Espindola | 2011-01-23 | 1 | -1/+0 |
| | | | | | | | Add support for SHT_X86_64_UNWIND. llvm-svn: 124059 | ||||
| * | Remove more duplicated code. | Rafael Espindola | 2011-01-23 | 5 | -21/+21 |
| | | | | | llvm-svn: 124056 | ||||
| * | Remove duplicated code. | Rafael Espindola | 2011-01-23 | 6 | -15/+21 |
| | | | | | llvm-svn: 124054 | ||||
| * | Pass sret arguments through the stack instead of through registers in Sparc ↵ | Venkatraman Govindaraju | 2011-01-22 | 3 | -4/+75 |
| | | | | | | | backend. It makes the code generated more compliant with the sparc32 ABI. llvm-svn: 124030 | ||||
| * | Added ICC, FCC as uses of movcc instruction to generate correct code when ↵ | Venkatraman Govindaraju | 2011-01-22 | 1 | -42/+51 |
| | | | | | | | -mattr=v9 is used. llvm-svn: 124027 | ||||
| * | Sparc backend: | Venkatraman Govindaraju | 2011-01-21 | 3 | -23/+28 |
| | | | | | | | | Rename FLUSH to FLUSHW. Output "ta 3" instead of a "flushw" instruction if v8 instruction set is used. llvm-svn: 123997 | ||||
| * | Last round of fixes for movw + movt global address codegen. | Evan Cheng | 2011-01-21 | 9 | -75/+136 |
| | | | | | | | | | | | 1. Fixed ARM pc adjustment. 2. Fixed dynamic-no-pic codegen 3. CSE of pc-relative load of global addresses. It's now enabled by default for Darwin. llvm-svn: 123991 | ||||
| * | Fix the encoding of QADD/SUB, QDADD/SUB. While qadd16, qadd8 use "rd, rn, rm", | Bruno Cardoso Lopes | 2011-01-21 | 2 | -15/+24 |
| | | | | | | | | qadd and qdadd uses "rd, rm, rn", the same applies to the 'sub' variants. This is described in ARM manuals and matches the encoding used by the gnu assembler. llvm-svn: 123975 | ||||
| * | Implement support for byval arguments in Sparc backend. | Venkatraman Govindaraju | 2011-01-21 | 1 | -1/+31 |
| | | | | | llvm-svn: 123974 | ||||
| * | Convert -enable-sched-cycles and -enable-sched-hazard to -disable | Andrew Trick | 2011-01-21 | 1 | -9/+5 |
| | | | | | | | | | | | | flags. They are still not enable in this revision. Added TargetInstrInfo::isZeroCost() to fix a fundamental problem with the scheduler's model of operand latency in the selection DAG. Generalized unit tests to work with sched-cycles. llvm-svn: 123969 | ||||
| * | Don't be overly aggressive with CSE of "ldr constantpool". If it's a pc-relative | Evan Cheng | 2011-01-20 | 1 | -5/+1 |
| | | | | | | | | | | value, the "add pc" must be CSE'ed at the same time. We could follow the same approach as T2 by adding pseudo instructions that combine the ldr + "add pc". But the better approach is to use movw + movt (which I will enable soon), so I'll leave this as a TODO. llvm-svn: 123949 | ||||
| * | Fix the encoding and parsing of clrex instruction | Bruno Cardoso Lopes | 2011-01-20 | 2 | -5/+9 |
| | | | | | llvm-svn: 123936 | ||||
| * | Change instruction names for consistency | Bruno Cardoso Lopes | 2011-01-20 | 1 | -4/+6 |
| | | | | | llvm-svn: 123930 | ||||
| * | Add cdp/cdp2 instructions for thumb/thumb2 | Bruno Cardoso Lopes | 2011-01-20 | 3 | -1/+51 |
| | | | | | llvm-svn: 123929 | ||||
| * | - Use a more appropriate name for Owen's ARM Parser isMCR hack since the ↵ | Bruno Cardoso Lopes | 2011-01-20 | 2 | -26/+60 |
| | | | | | | | | | | | same operands can be present in cdp/cdp2 instructions. Also increase the hack with cdp/cdp2 instructions. - Fix the encoding of cdp/cdp2 instructions for ARM (no thumb and thumb2 yet) and add testcases for t hem. llvm-svn: 123927 | ||||
| * | Add mcr*2 and mr*c2 support to thumb2 targets | Bruno Cardoso Lopes | 2011-01-20 | 2 | -0/+62 |
| | | | | | llvm-svn: 123919 | ||||
| * | Add mcr* and mr*c support to thumb targets | Bruno Cardoso Lopes | 2011-01-20 | 3 | -2/+68 |
| | | | | | llvm-svn: 123917 | ||||

