| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Make Kaleidoscope not link against the interpreter, since that didn't | Jeffrey Yasskin | 2010-02-11 | 12 | -21/+53 |
| | | | | | | | | | work anyway (Interpreter::getPointerToFunction doesn't return a callable pointer), and improve the error message when an ExecutionEngine can't be created. llvm-svn: 95896 | ||||
| * | Forgot to also check in this file for vcvt (floating-point <-> fixed-point, ↵ | Johnny Chen | 2010-02-11 | 1 | -0/+9 |
| | | | | | | | | | VFP). Sorry! llvm-svn: 95892 | ||||
| * | Allow for more than one DBG_VALUE targeting the | Dale Johannesen | 2010-02-11 | 1 | -4/+4 |
| | | | | | | | same dead instruction. llvm-svn: 95890 | ||||
| * | Don't allow DBG_VALUE to affect codegen. | Dale Johannesen | 2010-02-11 | 1 | -0/+3 |
| | | | | | llvm-svn: 95889 | ||||
| * | Added VCVT (between floating-point and fixed-point, VFP) for disassembly. | Johnny Chen | 2010-02-11 | 1 | -0/+95 |
| | | | | | | | A8.6.297 llvm-svn: 95885 | ||||
| * | Added BKPT/tBKPT (breakpoint) to the instruction table for disassembly purpose. | Johnny Chen | 2010-02-11 | 2 | -0/+17 |
| | | | | | llvm-svn: 95884 | ||||
| * | Use array_pod_sort instead of std::sort for improved code size. | Jakob Stoklund Olesen | 2010-02-11 | 1 | -2/+2 |
| | | | | | | | | Use SmallVector instead of std::vector for better speed when indirectbr has few successors. llvm-svn: 95879 | ||||
| * | Make sure that ConstantExpr offsets also aren't off of extern | Eric Christopher | 2010-02-11 | 2 | -2/+23 |
| | | | | | | | | | symbols. Thanks to Duncan Sands for the testcase! llvm-svn: 95877 | ||||
| * | Add pseudo instruction TRAP for disassembly, which is encoded according to A5-21 | Johnny Chen | 2010-02-11 | 1 | -0/+10 |
| | | | | | | | as the "Permanently UNDEFINED" instruction. llvm-svn: 95873 | ||||
| * | Use .empty() instead of .size(). | Bill Wendling | 2010-02-11 | 1 | -2/+2 |
| | | | | | llvm-svn: 95871 | ||||
| * | dont' call getX86RegNum on X86::RIP, it doesn't like that. This | Chris Lattner | 2010-02-11 | 2 | -3/+7 |
| | | | | | | | fixes the remaining x86-64 jit failures afaik. llvm-svn: 95867 | ||||
| * | fix a really nasty bug I introduced in r95693: r12 (and r12d, | Chris Lattner | 2010-02-11 | 2 | -7/+12 |
| | | | | | | | | | | r12b, etc) also encodes to a R/M value of 4, which is just as illegal as ESP/RSP for the non-sib version an address. This fixes x86-64 jit miscompilations of a bunch of programs. llvm-svn: 95866 | ||||
| * | Fix (harmless) memory leak found by memcheck. | Jeffrey Yasskin | 2010-02-11 | 1 | -0/+1 |
| | | | | | llvm-svn: 95862 | ||||
| * | Add and commonize encoder support for all immediates. | Chris Lattner | 2010-02-11 | 1 | -110/+35 |
| | | | | | | | | | | | | | | | | Stub out some dummy fixups to make things work. We can now emit fixups like this: subl $20, %esp ## encoding: [0x83,0xec,A] ## fixup A - offset: 2, value: 20, kind: fixup_1byte_imm Emitting $20 as a single-byte fixup to be later resolved by the assembler is ridiculous of course (vs just emitting the byte) but this is a failure of the matcher, which should be producing an imm of 20, not an MCExpr of 20. llvm-svn: 95860 | ||||
| * | generalize EmitDisplacementField to work with any size | Chris Lattner | 2010-02-11 | 1 | -14/+13 |
| | | | | | | | and rename it to EmitImmediate. llvm-svn: 95859 | ||||
| * | eliminate the dead IsPCRel argument. | Chris Lattner | 2010-02-11 | 1 | -9/+6 |
| | | | | | llvm-svn: 95858 | ||||
| * | eliminate the dead "PCAdj" logic. | Chris Lattner | 2010-02-11 | 1 | -22/+9 |
| | | | | | llvm-svn: 95857 | ||||
| * | Fix some of the memcheck errors found in the JIT unittests. | Jeffrey Yasskin | 2010-02-11 | 5 | -31/+20 |
| | | | | | llvm-svn: 95856 | ||||
| * | Rename ValueRequiresCast to ShouldOptimizeCast, to better reflect | Chris Lattner | 2010-02-11 | 4 | -55/+113 |
| | | | | | | | | | | | | | | | what it does. Enhance it to return false to optimizing vector sign extensions from vector comparisions, which is the idiom used to get a splatted vector for a vector comparison. Doing this breaks vector-casts.ll, add some compensating transformations to handle the important case they cover without depending on this canonicalization. This fixes rdar://7434900 a serious pessimization of vector compares. llvm-svn: 95855 | ||||
| * | convert to filecheck. | Chris Lattner | 2010-02-11 | 1 | -4/+2 |
| | | | | | llvm-svn: 95854 | ||||
| * | Make DSE only scan blocks that are reachable from the entry | Chris Lattner | 2010-02-11 | 2 | -1/+21 |
| | | | | | | | | | | block. Other blocks may have pointer cycles that will crash basicaa and other alias analyses. In any case, there is no point wasting cycles optimizing dead blocks. This fixes rdar://7635088 llvm-svn: 95852 | ||||
| * | a testcase that doesn't crash GVN but could someday. | Chris Lattner | 2010-02-11 | 1 | -3/+19 |
| | | | | | llvm-svn: 95851 | ||||
| * | Make jump threading honor x|undef -> true and x&undef -> false, | Chris Lattner | 2010-02-11 | 2 | -3/+77 |
| | | | | | | | instead of considering x|undef -> x, which may not be true. llvm-svn: 95850 | ||||
| * | Add ConstantExpr handling to Intrinsic::objectsize lowering. | Eric Christopher | 2010-02-11 | 2 | -3/+27 |
| | | | | | | | | Update testcase accordingly now that we can optimize another section. llvm-svn: 95846 | ||||
| * | test case for r95842. | Devang Patel | 2010-02-11 | 1 | -0/+7 |
| | | | | | llvm-svn: 95844 | ||||
| * | Fix to get it to compile. | Bill Wendling | 2010-02-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 95840 | ||||
| * | Don't print out a default newline when emitting the section offset. There are | Bill Wendling | 2010-02-11 | 2 | -2/+1 |
| | | | | | | | almost always comments afterwards that need printing. llvm-svn: 95839 | ||||
| * | Make it possible to create multiple JIT instances at the same time, by removing | Jeffrey Yasskin | 2010-02-11 | 5 | -43/+297 |
| | | | | | | | | | | | the global TheJIT and TheJITResolver variables. Lazy compilation is supported by a global map from a stub address to the JITResolver that knows how to compile it. Patch by Olivier Meurant! llvm-svn: 95837 | ||||
| * | Reuse operand location when updating PHI instructions. | Jakob Stoklund Olesen | 2010-02-11 | 1 | -7/+26 |
| | | | | | | | | | Calling RemoveOperand is very expensive on huge PHI instructions. This makes early tail duplication run twice as fast on the Firefox JavaScript interpreter. llvm-svn: 95832 | ||||
| * | Remove duplicate successors from indirectbr instructions before building the ↵ | Jakob Stoklund Olesen | 2010-02-11 | 1 | -2/+8 |
| | | | | | | | | | | machine CFG. This makes early tail duplication run 60 times faster when compiling the Firefox JavaScript interpreter, see PR6186. llvm-svn: 95831 | ||||
| * | Ignore dbg info intrinsics. | Devang Patel | 2010-02-11 | 1 | -0/+4 |
| | | | | | llvm-svn: 95828 | ||||
| * | Remove the few # TAILCALL comments that snuck in. As they may fail on linux. | Kevin Enderby | 2010-02-11 | 1 | -4/+4 |
| | | | | | llvm-svn: 95827 | ||||
| * | Update the X86 assembler matcher test case now that a few more things match | Kevin Enderby | 2010-02-11 | 1 | -5/+161 |
| | | | | | | | with some of the recent changes that have gone into llvm-mc. llvm-svn: 95826 | ||||
| * | Add support to llvm-extract for extracting multiple functions and/or | Dan Gohman | 2010-02-10 | 2 | -24/+36 |
| | | | | | | | multiple global variables at a time. llvm-svn: 95825 | ||||
| * | The previous fix of widening divides that trap was too fragile as it depends ↵ | Mon P Wang | 2010-02-10 | 5 | -24/+141 |
| | | | | | | | | | | | | on custom lowering and requires that certain types exist in ValueTypes.h. Modified widening to check if an op can trap and if so, the widening algorithm will apply only the op on the defined elements. It is safer to do this in widening because the optimizer can't guarantee removing unused ops in some cases. llvm-svn: 95823 | ||||
| * | Ignore debug info one more place during coalescing. | Dale Johannesen | 2010-02-10 | 1 | -0/+2 |
| | | | | | llvm-svn: 95819 | ||||
| * | Allow isDebug inquiry on any MO. | Dale Johannesen | 2010-02-10 | 1 | -1/+0 |
| | | | | | llvm-svn: 95818 | ||||
| * | Delete dead PHI machine instructions. These can be created due to type | Bob Wilson | 2010-02-10 | 3 | -5/+7 |
| | | | | | | | | | | legalization even when the IR-level optimizer has removed dead phis, such as when the high half of an i64 value is unused on a 32-bit target. I had to adjust a few test cases that had dead phis. This is a partial fix for Radar 7627077. llvm-svn: 95816 | ||||
| * | Skip debug info in a couple of places. | Dale Johannesen | 2010-02-10 | 1 | -3/+7 |
| | | | | | llvm-svn: 95814 | ||||
| * | Use an index instead of pointers into the vector. If the vector resizes, then | Bill Wendling | 2010-02-10 | 2 | -12/+13 |
| | | | | | | | the pointer values could be invalid. llvm-svn: 95813 | ||||
| * | When I rewrote this loop per Chris' preference I | Dale Johannesen | 2010-02-10 | 1 | -0/+3 |
| | | | | | | | changed its behavior. Oops. llvm-svn: 95811 | ||||
| * | add a virtual dtor to MCTargetExpr, hopefully silencing some warnings. | Chris Lattner | 2010-02-10 | 1 | -1/+1 |
| | | | | | llvm-svn: 95810 | ||||
| * | A few missed optimizations; the last one could have a significant impact on | Eli Friedman | 2010-02-10 | 1 | -0/+66 |
| | | | | | | | code with lots of bitfields. llvm-svn: 95809 | ||||
| * | work around a gcc bug with -Wuninitialized. | Chris Lattner | 2010-02-10 | 1 | -0/+1 |
| | | | | | llvm-svn: 95808 | ||||
| * | Strip new llvm.dbg.value intrinsic. | Devang Patel | 2010-02-10 | 1 | -0/+9 |
| | | | | | llvm-svn: 95807 | ||||
| * | MC/X86 AsmMatcher: Fix a use after free spotted by d0k, and de-XFAIL | Daniel Dunbar | 2010-02-10 | 2 | -22/+15 |
| | | | | | | | x86_32-encoding.s in on expectation of it passing. llvm-svn: 95806 | ||||
| * | XFAIL this on linux until I figure out what is happening. | Daniel Dunbar | 2010-02-10 | 1 | -0/+4 |
| | | | | | llvm-svn: 95804 | ||||
| * | lit: Ignore dot files when scanning for tests (e.g., editor temprary files, | Daniel Dunbar | 2010-02-10 | 1 | -1/+6 |
| | | | | | | | etc.) llvm-svn: 95803 | ||||
| * | MC/AsmMatcher: Tweak conversion function name. | Daniel Dunbar | 2010-02-10 | 1 | -1/+1 |
| | | | | | llvm-svn: 95802 | ||||
| * | Minor whitespace cleanups. | Dan Gohman | 2010-02-10 | 1 | -3/+1 |
| | | | | | llvm-svn: 95801 | ||||

