Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [asan] unpoison the stack before every noreturn call. Fixes asan issue 37. ↵ | Kostya Serebryany | 2012-02-08 | 2 | -2/+34 |
| | | | | | | llvm part llvm-svn: 150102 | ||||
* | Codegen pass definition cleanup. No functionality. | Andrew Trick | 2012-02-08 | 28 | -256/+176 |
| | | | | | | | | | | | | | Moving toward a uniform style of pass definition to allow easier target configuration. Globally declare Pass ID. Globally declare pass initializer. Use INITIALIZE_PASS consistently. Add a call to the initializer from CodeGen.cpp. Remove redundant "createPass" functions and "getPassName" methods. While cleaning up declarations, cleaned up comments (sorry for large diff). llvm-svn: 150100 | ||||
* | Move pass configuration out of pass constructors: MachineLICM. | Andrew Trick | 2012-02-08 | 3 | -6/+8 |
| | | | | llvm-svn: 150099 | ||||
* | whitespace | Andrew Trick | 2012-02-08 | 1 | -11/+11 |
| | | | | llvm-svn: 150098 | ||||
* | Move pass configuration out of pass constructors: StackSlotColoring. | Andrew Trick | 2012-02-08 | 4 | -5/+5 |
| | | | | llvm-svn: 150097 | ||||
* | Move pass configuration out of pass constructors: PostRAScheduler. | Andrew Trick | 2012-02-08 | 4 | -9/+11 |
| | | | | llvm-svn: 150096 | ||||
* | Move pass configuration out of pass constructors: BranchFolderPass | Andrew Trick | 2012-02-08 | 7 | -26/+38 |
| | | | | llvm-svn: 150095 | ||||
* | whitespace | Andrew Trick | 2012-02-08 | 8 | -80/+80 |
| | | | | llvm-svn: 150094 | ||||
* | Added TargetPassConfig::setOpt | Andrew Trick | 2012-02-08 | 4 | -1/+20 |
| | | | | llvm-svn: 150093 | ||||
* | Added Pass::createPass(ID) to handle pass configuration by ID | Andrew Trick | 2012-02-08 | 4 | -3/+18 |
| | | | | llvm-svn: 150092 | ||||
* | Move pass configuration out of pass constructors: TailDuplicate::PreRegAlloc | Andrew Trick | 2012-02-08 | 4 | -11/+12 |
| | | | | llvm-svn: 150091 | ||||
* | Add Register mask support to RABasic. | Jakob Stoklund Olesen | 2012-02-08 | 1 | -0/+14 |
| | | | | | | | When a virtual register is live across a call, limit the search space to call-preserved registers. llvm-svn: 150081 | ||||
* | Don't map registers to the invalid dwarf register (-1). It's the default value. | Benjamin Kramer | 2012-02-08 | 1 | -0/+3 |
| | | | | | | | X86GenRegisterInfo.inc | 1032 ------------------------------------------------- 1 file changed, 1032 deletions(-) llvm-svn: 150080 | ||||
* | Use TSFlag bit to describe instruction properties. | Brendon Cahoon | 2012-02-08 | 6 | -314/+208 |
| | | | | | | | | Creating the isPredicated TSFlag enables the code to use the property defined in the instruction format instead of using a large switch statement. llvm-svn: 150078 | ||||
* | Keep track of register masks in LiveIntervalAnalysis. | Jakob Stoklund Olesen | 2012-02-08 | 2 | -0/+105 |
| | | | | | | | | | | | | | Build an ordered vector of register mask operands (i.e., calls) when computing live intervals. Provide a checkRegMaskInterference() function that computes a bit mask of usable registers for a live range. This is a quick way of determining of a live range crosses any calls, and restricting it to the callee saved registers if it does. Previously, we had to discover call clobbers for each candidate register independently. llvm-svn: 150077 | ||||
* | Value initialize MCRegisterClasses. Not sure how could miss this during the ↵ | Benjamin Kramer | 2012-02-08 | 2 | -14/+3 |
| | | | | | | MCTargetDesc refactor. llvm-svn: 150076 | ||||
* | Use Use::set rather than finding the operand number of the use | Duncan Sands | 2012-02-08 | 1 | -6/+3 |
| | | | | | | and setting that. llvm-svn: 150074 | ||||
* | PathV2: Remove static StringRef ctors. | Benjamin Kramer | 2012-02-08 | 1 | -4/+4 |
| | | | | llvm-svn: 150071 | ||||
* | Fixed a bug in printing "cmp" pseudo ops. | Elena Demikhovsky | 2012-02-08 | 5 | -41/+183 |
| | | | | | | | | | | | | | | | | | | | | | | > This IR code > %res = call <8 x float> @llvm.x86.avx.cmp.ps.256(<8 x float> %a0, <8 x float> %a1, i8 14) > fails with assertion: > > llc: X86ATTInstPrinter.cpp:62: void llvm::X86ATTInstPrinter::printSSECC(const llvm::MCInst*, unsigned int, llvm::raw_ostream&): Assertion `0 && "Invalid ssecc argument!"' failed. > 0 llc 0x0000000001355803 > 1 llc 0x0000000001355dc9 > 2 libpthread.so.0 0x00007f79a30575d0 > 3 libc.so.6 0x00007f79a23a1945 gsignal + 53 > 4 libc.so.6 0x00007f79a23a2f21 abort + 385 > 5 libc.so.6 0x00007f79a239a810 __assert_fail + 240 > 6 llc 0x00000000011858d5 llvm::X86ATTInstPrinter::printSSECC(llvm::MCInst const*, unsigned int, llvm::raw_ostream&) + 119 I added the full testing for all possible pseudo-ops of cmp. I extended X86AsmPrinter.cpp and X86IntelInstPrinter.cpp. You'l also see lines alignments (unrelated to this fix) in X86IselLowering.cpp from my previous check-in. llvm-svn: 150068 | ||||
* | Remove a couple unneeded intrinsic patterns | Craig Topper | 2012-02-08 | 1 | -6/+0 |
| | | | | llvm-svn: 150067 | ||||
* | No actual functional change here, just some clarifications: | Chris Lattner | 2012-02-08 | 1 | -14/+26 |
| | | | | | | | | | | | Clarify that contributors are agreeing to license their code under the license corresponding to the subproject that they are contributing to, as requested by a potential contributor. Also, as a drive-by, update the llvm-gcc/GPL section to mention dragonegg and say that GPL code is all in its own repo's. llvm-svn: 150065 | ||||
* | Remove GCC builtins for vpermilp* intrinsics as clang no longer needs them. ↵ | Craig Topper | 2012-02-08 | 3 | -36/+19 |
| | | | | | | Custom lower the intrinsics to the vpermilp target specific node and remove intrinsic patterns. llvm-svn: 150060 | ||||
* | [fast-isel] Add support for SUBs with non-legal types. | Chad Rosier | 2012-02-08 | 2 | -0/+43 |
| | | | | llvm-svn: 150047 | ||||
* | Add comment to test case. | Chad Rosier | 2012-02-08 | 1 | -0/+2 |
| | | | | llvm-svn: 150046 | ||||
* | [fast-isel] Add support for ORs with non-legal types. | Chad Rosier | 2012-02-08 | 2 | -2/+49 |
| | | | | llvm-svn: 150045 | ||||
* | Added MachineInstr::isBundled() to check if an instruction is part of a bundle. | Andrew Trick | 2012-02-08 | 3 | -1/+15 |
| | | | | llvm-svn: 150044 | ||||
* | misched: bug in debug output. | Andrew Trick | 2012-02-08 | 1 | -2/+4 |
| | | | | llvm-svn: 150043 | ||||
* | whitespace | Andrew Trick | 2012-02-08 | 1 | -4/+4 |
| | | | | llvm-svn: 150042 | ||||
* | stale comment | Andrew Trick | 2012-02-08 | 1 | -2/+0 |
| | | | | llvm-svn: 150041 | ||||
* | add an explicit section on static constructors. | Chris Lattner | 2012-02-08 | 1 | -16/+50 |
| | | | | llvm-svn: 150037 | ||||
* | Don't use static CTORs for the Attributes constants, while still keeping the ↵ | Kostya Serebryany | 2012-02-08 | 1 | -48/+78 |
| | | | | | | class type-safe llvm-svn: 150031 | ||||
* | Add support for a temporary forward decl type. We want this so we | Eric Christopher | 2012-02-08 | 2 | -0/+26 |
| | | | | | | | | can rauw forward declarations if we decide to emit the full type. Part of rdar://10809898 llvm-svn: 150024 | ||||
* | Remove tabs. | Devang Patel | 2012-02-08 | 4 | -22/+22 |
| | | | | llvm-svn: 150022 | ||||
* | [fast-isel] Add support for indirect branches. | Chad Rosier | 2012-02-07 | 2 | -0/+30 |
| | | | | llvm-svn: 150014 | ||||
* | Remove tabs. | Devang Patel | 2012-02-07 | 1 | -17/+17 |
| | | | | llvm-svn: 150012 | ||||
* | Use LEA to adjust stack ptr for Atom. Patch by Andy Zhang. | Evan Cheng | 2012-02-07 | 4 | -21/+52 |
| | | | | llvm-svn: 150008 | ||||
* | Allow bugpoint to recognize -bb-vectorize | Hal Finkel | 2012-02-07 | 1 | -0/+1 |
| | | | | llvm-svn: 150003 | ||||
* | Correct use of const in ParseCommandLineOptions | David Blaikie | 2012-02-07 | 2 | -6/+6 |
| | | | | llvm-svn: 149999 | ||||
* | ocaml bindings: landing pad is now the last opcode. | Benjamin Kramer | 2012-02-07 | 1 | -1/+1 |
| | | | | llvm-svn: 149997 | ||||
* | Add a unittest for rotating a really big APInt. | Benjamin Kramer | 2012-02-07 | 1 | -0/+4 |
| | | | | | | Clang miscompiles it under certain circumstances, and it's a good exercise for APInt. llvm-svn: 149986 | ||||
* | Bitcode/BitstreamReader.h: Tweak for big endian hosts. | NAKAMURA Takumi | 2012-02-07 | 1 | -4/+6 |
| | | | | llvm-svn: 149980 | ||||
* | Rephrase to add clarity. | Bill Wendling | 2012-02-07 | 1 | -3/+3 |
| | | | | llvm-svn: 149972 | ||||
* | test commit | Anat Shemer | 2012-02-07 | 1 | -0/+1 |
| | | | | llvm-svn: 149971 | ||||
* | Do not fold ADD / SUB into load / store (to form pre-indexed, post-indexed | Evan Cheng | 2012-02-07 | 1 | -24/+58 |
| | | | | | | | | load / store) if the ADD / SUB has a live definition of CPSR. Bug reported by David Meyer. Alas, no test case. llvm-svn: 149970 | ||||
* | Add instruction selection for 256-bit VPSHUFD and 128-bit VPERMILPS/VPERMILPD. | Craig Topper | 2012-02-07 | 5 | -31/+59 |
| | | | | llvm-svn: 149968 | ||||
* | Convert assert(0) to llvm_unreachable | Craig Topper | 2012-02-07 | 30 | -89/+66 |
| | | | | llvm-svn: 149967 | ||||
* | Convert assert(0) to llvm_unreachable | Craig Topper | 2012-02-07 | 42 | -151/+106 |
| | | | | llvm-svn: 149961 | ||||
* | Cache the sizes of vectors instead of calculating them all over the place. | Bill Wendling | 2012-02-07 | 1 | -9/+11 |
| | | | | llvm-svn: 149954 | ||||
* | Reserve space in these vectors to prevent having to grow the array too | Bill Wendling | 2012-02-07 | 2 | -6/+8 |
| | | | | | | much. This gets us an addition 0.9% on 445.gobmk. llvm-svn: 149952 | ||||
* | Fix win32 build breakage from bitcode streaming patch | Derek Schuff | 2012-02-07 | 1 | -1/+4 |
| | | | | llvm-svn: 149941 |