Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Trailing whitespace and 80 column fixups. | Jim Grosbach | 2010-12-17 | 1 | -14/+15 | |
| | | | | llvm-svn: 122026 | |||||
* | MC/Target: Remove HasScatteredSymbols target hook variable, which has been | Daniel Dunbar | 2010-12-17 | 6 | -24/+6 | |
| | | | | | | superceded and was effectively dead. llvm-svn: 122024 | |||||
* | MC/Expr: Simplify. | Daniel Dunbar | 2010-12-17 | 1 | -8/+0 | |
| | | | | llvm-svn: 122023 | |||||
* | Fix crash compiling a QQQQ REG_SEQUENCE for a Neon vld3_lane operation. | Bob Wilson | 2010-12-17 | 2 | -5/+6 | |
| | | | | | | Radar 8776599 llvm-svn: 122018 | |||||
* | Use PairDRegs to implement ConcatVectors. No functionality change. | Bob Wilson | 2010-12-17 | 1 | -7/+1 | |
| | | | | llvm-svn: 122017 | |||||
* | Fix a comment typo. | Bob Wilson | 2010-12-17 | 1 | -2/+2 | |
| | | | | llvm-svn: 122016 | |||||
* | Revert r64460. strtol and friends cannot be marked readonly, even with | Dan Gohman | 2010-12-17 | 1 | -1/+2 | |
| | | | | | | | | | a null endptr argument, because they may write to errno. This fixes a seflhost miscompile observed on Linux targets when TBAA was enabled. llvm-svn: 122014 | |||||
* | MC: Remove another dead MCAssembler argument, and update clients. | Daniel Dunbar | 2010-12-17 | 2 | -25/+5 | |
| | | | | llvm-svn: 122013 | |||||
* | MC: Remove dead MCAssembler argument -- Rafael, can you check the FIXME I added | Daniel Dunbar | 2010-12-17 | 1 | -12/+9 | |
| | | | | | | here? llvm-svn: 122012 | |||||
* | MC: Simplify (remove unnecessary MCAssembler argument, obsoleted by containment | Daniel Dunbar | 2010-12-17 | 1 | -12/+8 | |
| | | | | | | in MCAsmLayout). llvm-svn: 122011 | |||||
* | Write => in a more normal form. | Daniel Dunbar | 2010-12-17 | 1 | -1/+2 | |
| | | | | llvm-svn: 122009 | |||||
* | MC/Expr: Simplify (and add a FIXME). | Daniel Dunbar | 2010-12-17 | 1 | -10/+16 | |
| | | | | llvm-svn: 122008 | |||||
* | "Fix" FDE alignment to match what gas does. | Rafael Espindola | 2010-12-17 | 1 | -9/+17 | |
| | | | | llvm-svn: 122006 | |||||
* | Make pushq produce signed relocations. | Rafael Espindola | 2010-12-16 | 1 | -1/+4 | |
| | | | | llvm-svn: 122005 | |||||
* | Fix MBlaze backend call instructions so that arguments passed through registers | Wesley Peck | 2010-12-16 | 2 | -10/+11 | |
| | | | | | | | are correctly marked as used. This removes a hack where the call instructions marked all possible argument registers as used in the tablegen description. llvm-svn: 121994 | |||||
* | Pseudo-ize the Thumb1 tBfar pattern. rdar://8777974 | Jim Grosbach | 2010-12-16 | 2 | -3/+12 | |
| | | | | llvm-svn: 121990 | |||||
* | MC/Expr: Add a doxyment. | Daniel Dunbar | 2010-12-16 | 1 | -0/+14 | |
| | | | | llvm-svn: 121988 | |||||
* | MC/Mach-O: Lift some MachObjectWriter arguments into the target specific | Daniel Dunbar | 2010-12-16 | 5 | -52/+65 | |
| | | | | | | interface. llvm-svn: 121981 | |||||
* | MC/Mach-O: Stub out explicit MCMachObjectTargetWriter interface. | Daniel Dunbar | 2010-12-16 | 6 | -20/+59 | |
| | | | | llvm-svn: 121973 | |||||
* | Fix indentation (per style guide). | Daniel Dunbar | 2010-12-16 | 1 | -49/+49 | |
| | | | | llvm-svn: 121972 | |||||
* | MC/Mach-O: Move createMachObjectWriter into MCMachObjectWriter.h. | Daniel Dunbar | 2010-12-16 | 4 | -0/+4 | |
| | | | | llvm-svn: 121971 | |||||
* | MC/Mach-O: Use fixup info instead of hard coded list. | Daniel Dunbar | 2010-12-16 | 1 | -21/+19 | |
| | | | | llvm-svn: 121970 | |||||
* | Fix a bug in the loop in JumpThreading::ProcessThreadableEdges() where it ↵ | Frits van Bommel | 2010-12-16 | 1 | -2/+2 | |
| | | | | | | | | could falsely produce a MultipleDestSentinel value if the first predecessor ended with an 'indirectbr'. If that happened, it caused an unnecessary FindMostPopularDest() call. This wasn't a correctness problem, but it broke the fast path for single-predecessor blocks. llvm-svn: 121966 | |||||
* | Speculatively revert commit 121905 since it looks like it might have broken the | Duncan Sands | 2010-12-16 | 1 | -65/+0 | |
| | | | | | | | | | | | dragonegg self-host buildbot. Original commit message: Add an InstCombine transform to recognize instances of manual overflow-safe addition (performing the addition in a wider type and explicitly checking for overflow), and fold them down to intrinsics. This currently only supports signed-addition, but could be generalized if someone works out the magic constant formulas for other operations. llvm-svn: 121965 | |||||
* | MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> ↵ | Michael J. Spencer | 2010-12-16 | 11 | -82/+82 | |
| | | | | | | via an out parm. llvm-svn: 121958 | |||||
* | MC: Move target specific fixup info descriptors to TargetAsmBackend instead of | Daniel Dunbar | 2010-12-16 | 13 | -103/+111 | |
| | | | | | | | the MCCodeEmitter, which seems like a better organization. - Also, cleaned up some magic constants while in the area. llvm-svn: 121953 | |||||
* | 1. ARM/MC/ELF: A few more ELF relocs for .o | Jason W Kim | 2010-12-16 | 2 | -3/+18 | |
| | | | | | | | 2. Fixed EmitLocalCommonSymbol for ELF (Yes, they exist. :) Test added. llvm-svn: 121951 | |||||
* | MC: Make TargetAsmBackend available to the AsmStreamer. | Daniel Dunbar | 2010-12-16 | 4 | -10/+19 | |
| | | | | | | - Treaty talks on the non-proliferation of MC objects broke down. llvm-svn: 121949 | |||||
* | Update a comment. | Dan Gohman | 2010-12-16 | 1 | -1/+3 | |
| | | | | llvm-svn: 121946 | |||||
* | Make memcpyopt TBAA-aware. | Dan Gohman | 2010-12-16 | 2 | -16/+14 | |
| | | | | llvm-svn: 121944 | |||||
* | lib/Support/regexec.c: Let Regex LLP64-aware. | NAKAMURA Takumi | 2010-12-16 | 1 | -2/+3 | |
| | | | | | | On LLP64 Win64, 'states1' (for small version) was expanded to 'char *' for large version. Thus small version would be mischosen when nstates > 32 regardless of sizeof(long) on Win64. llvm-svn: 121942 | |||||
* | Delete an extra "Imm5 = ", caught by GCC's -Wsequence-point but not by Clang | Matt Beaumont-Gay | 2010-12-16 | 1 | -1/+1 | |
| | | | | | | (see PR4579). llvm-svn: 121939 | |||||
* | Remove fixup_arm_thumb_ldst. The code was never calling the "fixup" stuff for | Bill Wendling | 2010-12-16 | 3 | -18/+1 | |
| | | | | | | it. I.e., it was always an immediate value. llvm-svn: 121932 | |||||
* | Add tSpill and tRestore to the opcodes to replace with tSTRi and tLDRi | Bill Wendling | 2010-12-16 | 1 | -0/+2 | |
| | | | | | | | | | respectively. It may be a bug that these opcodes are getting this far into machine code generation. llvm-svn: 121931 | |||||
* | Add encodings for Thumb1 Spill and Restore pseudos. | Bill Wendling | 2010-12-16 | 1 | -2/+12 | |
| | | | | llvm-svn: 121929 | |||||
* | Enable TBAA by default. | Dan Gohman | 2010-12-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 121923 | |||||
* | Preserve TBAA tags when doing load PRE. | Dan Gohman | 2010-12-15 | 1 | -3/+8 | |
| | | | | llvm-svn: 121921 | |||||
* | Thumb1 had two patterns for the same load-from-constant-pool instruction. | Jim Grosbach | 2010-12-15 | 4 | -16/+2 | |
| | | | | | | Canonicalize on tLDRpci and remove tLDRcp. llvm-svn: 121920 | |||||
* | Don't handle -arm-long-calls in fast isel for now. | Eric Christopher | 2010-12-15 | 2 | -1/+9 | |
| | | | | llvm-svn: 121919 | |||||
* | Start using SplitKit and MachineLoopRanges in RegAllocGreedy in preparation of | Jakob Stoklund Olesen | 2010-12-15 | 2 | -11/+39 | |
| | | | | | | | | live range splitting around loops guided by register pressure. So far, trySplit() simply prints a lot of debug output. llvm-svn: 121918 | |||||
* | Add MachineLoopRanges analysis. | Jakob Stoklund Olesen | 2010-12-15 | 2 | -0/+86 | |
| | | | | | | | | A MachineLoopRange contains the intervals of slot indexes covered by the blocks in a loop. This representation of the loop blocks is more efficient to compare against interfering registers during register coalescing. llvm-svn: 121917 | |||||
* | If we're changing the frame register to a physical register other than SP, we | Bill Wendling | 2010-12-15 | 2 | -29/+38 | |
| | | | | | | need to use tLDRi and tSTRi instead of tLDRspi and tSTRspi respectively. llvm-svn: 121915 | |||||
* | Whitespace cleanups. | Bill Wendling | 2010-12-15 | 1 | -3/+3 | |
| | | | | llvm-svn: 121914 | |||||
* | Better fix for opt build | Matt Beaumont-Gay | 2010-12-15 | 1 | -3/+2 | |
| | | | | llvm-svn: 121910 | |||||
* | Only rr forms of ADD*_DB are commutable. | Evan Cheng | 2010-12-15 | 1 | -1/+3 | |
| | | | | llvm-svn: 121908 | |||||
* | Add an InstCombine transform to recognize instances of manual overflow-safe ↵ | Owen Anderson | 2010-12-15 | 1 | -0/+65 | |
| | | | | | | | | | | | | addition (performing the addition in a wider type and explicitly checking for overflow), and fold them down to intrinsics. This currently only supports signed-addition, but could be generalized if someone works out the magic constant formulas for other operations. Fixes <rdar://problem/8558713>. llvm-svn: 121905 | |||||
* | Fix opt -Werror build | Matt Beaumont-Gay | 2010-12-15 | 1 | -0/+1 | |
| | | | | llvm-svn: 121904 | |||||
* | Teach machine cse to commute instructions. | Evan Cheng | 2010-12-15 | 1 | -2/+19 | |
| | | | | llvm-svn: 121903 | |||||
* | Add Neon VCVT instructions for f32 <-> f16 conversions. | Bob Wilson | 2010-12-15 | 3 | -1/+22 | |
| | | | | | | | Clang is now providing intrinsics for these and so we need to support them in the backend. Radar 8068427. llvm-svn: 121902 | |||||
* | Reapply r121886, and also update DecomposeGEPExpression to keep | Dan Gohman | 2010-12-15 | 2 | -0/+17 | |
| | | | | | | it in sync. llvm-svn: 121895 |