summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* VirtRegRewriter checks for early clobbers before it reuses an available stackJakob Stoklund Olesen2010-09-031-5/+7
| | | | | | | | | | | | slot. Teach it to also check for early clobbered aliases, and early clobber operands following the current operand. This fixes the miscompilation in PR8044 where EC registers eax and ecx were being used for inputs. llvm-svn: 112988
* Add a test for PR4413, which was apparently fixed at some point in the past.Owen Anderson2010-09-031-0/+21
| | | | llvm-svn: 112987
* Check the local frame alignment for determining whether dynamic stackJim Grosbach2010-09-031-1/+1
| | | | | | | | | alignment should be performed. Otherwise dynamic realignment may trigger when the register allocator has already used the frame pointer as a general purpose register. That is, we need to make sure that the list of reserved registers doesn't change after register allocation. llvm-svn: 112986
* Add 'const' to getter function.Jim Grosbach2010-09-031-1/+1
| | | | llvm-svn: 112984
* Finish converting the rest of the NEON VLD instructions to use pseudo-Bob Wilson2010-09-034-154/+149
| | | | | | | | | instructions prior to regalloc. Since it's getting a little close to the 2.8 branch deadline, I'll have to leave the rest of the instructions handled by the NEONPreAllocPass for now, but I didn't want to leave half of the VLD instructions converted and the other half not. llvm-svn: 112983
* Remove a TODO comment; this is now filed in bugzilla (PR8005).Dan Gohman2010-09-031-4/+0
| | | | llvm-svn: 112982
* Fix Windows stuff to follow the existing source organization.Dan Gohman2010-09-031-15/+17
| | | | llvm-svn: 112976
* Add PR number to test.Owen Anderson2010-09-031-0/+1
| | | | llvm-svn: 112971
* Rename 'libprofile/exported_symbols.lst' to 'libprofile/libprofile.exports'.Mikhail Glushenkov2010-09-032-4/+4
| | | | | | | Makefile.rules assumes that all EXPORTED_SYMBOL_FILEs have the .exports extension. llvm-svn: 112964
* Revert "Rules for win32 ld shouldn't fire when cross-compiling."Mikhail Glushenkov2010-09-031-7/+0
| | | | | | This reverts commit 012b374e5b46fe93a8fdf605f5929fa8239e0960. llvm-svn: 112963
* Revert "For ARM stack frames that utilize variable sized objects and have ↵Daniel Dunbar2010-09-035-98/+36
| | | | | | | | either", it is breaking oggenc with Clang for ARMv6. This reverts commit 8d6e29cfda270be483abf638850311670829ee65. llvm-svn: 112962
* Zap dead code.Benjamin Kramer2010-09-032-13/+0
| | | | llvm-svn: 112955
* Rules for win32 ld shouldn't fire when cross-compiling.Mikhail Glushenkov2010-09-031-0/+7
| | | | llvm-svn: 112954
* Reapply commit 112702 which was speculatively reverted by echristo.Duncan Sands2010-09-031-82/+80
| | | | | | | | | | Original commit message: Use the SSAUpdator to turn calls to eh.exception that are not in a landing pad into uses of registers rather than loads from a stack slot. Doesn't touch the 'orrible hack code - Bill needs to persuade me harder :) llvm-svn: 112952
* Re-enable CorrelatedValuePropagation. I've tested nightly tests, llvm-gcc Owen Anderson2010-09-031-0/+2
| | | | | | bootstrap, and clang self-host. llvm-svn: 112948
* test/CodeGen/X86: Add explicit -mtriple=(i686|x86_64)-linux for Win32 host.NAKAMURA Takumi2010-09-033-5/+5
| | | | llvm-svn: 112947
* Fix cmake build without native target selected.Oscar Fuentes2010-09-031-3/+3
| | | | | | | | | | | | | | | The cmake (+ MSVC) build is broken if you don't select your native target. e.g. 'cmake -D LLVM_TARGETS_TO_BUILD="MyNonNativeTarget" .' This is because cmake currently sets the LLVM_NATIVE_* definitions regardless of whether the native target is selected (causing build errors). Patch by Mike Gist! llvm-svn: 112946
* AVX doesn't support mm operations neither its instrinsics.Bruno Cardoso Lopes2010-09-032-56/+32
| | | | | | | The AVX versions of PALIGN and PABS* should only exist for 128-bit. Remove the unnecessary stuff. llvm-svn: 112944
* Use punpckh and unpckh family of nodes instead of using unpckh mask pattern ↵Bruno Cardoso Lopes2010-09-031-3/+23
| | | | | | fragment llvm-svn: 112942
* Replace NEON vabdl, vaba, and vabal intrinsics with combinations of theBob Wilson2010-09-038-153/+289
| | | | | | | | vabd intrinsic and add and/or zext operations. In the case of vaba, this also avoids the need for a DAG combine pattern to combine vabd with add. Update tests. Auto-upgrade the old intrinsics. llvm-svn: 112941
* Fix commentBruno Cardoso Lopes2010-09-031-3/+3
| | | | llvm-svn: 112938
* - Use specific nodes to match unpckl masks.Bruno Cardoso Lopes2010-09-032-16/+133
| | | | | | | | | - Teach getShuffleScalarElt how to handle more target specific nodes, so the DAGCombine can make use of it. - Add another hack to avoid the node update problem during legalization. More description on the comments llvm-svn: 112934
* Stop emitting predicate functions. They are no longer used.Jakob Stoklund Olesen2010-09-032-50/+0
| | | | llvm-svn: 112924
* Simple branch instruction support.Eric Christopher2010-09-031-0/+23
| | | | llvm-svn: 112923
* Don't call Predicate_* from X86 target.Jakob Stoklund Olesen2010-09-033-16/+21
| | | | llvm-svn: 112921
* Remove Predicate_* calls from MBlaze and XCoreJakob Stoklund Olesen2010-09-033-18/+17
| | | | llvm-svn: 112920
* Remove Predicate_* calls from MipsJakob Stoklund Olesen2010-09-031-2/+3
| | | | llvm-svn: 112919
* Add basic support for materializing constants (including fp) andEric Christopher2010-09-021-3/+40
| | | | | | stores. llvm-svn: 112912
* update one more testChris Lattner2010-09-021-2/+2
| | | | llvm-svn: 112910
* this is a release note worthy change.Chris Lattner2010-09-021-0/+2
| | | | llvm-svn: 112907
* add a new "llvm-dis -show-annotations" option, which causes it to printChris Lattner2010-09-022-1/+51
| | | | | | #uses comments, with a testcase. llvm-svn: 112906
* lets get crazy and name the header file the exact class name,Chris Lattner2010-09-023-5/+5
| | | | | | not a scrunched version of it. llvm-svn: 112904
* AsmPrinter has a formatted stream, pass it down through AsmAnnotationWriterChris Lattner2010-09-022-9/+17
| | | | llvm-svn: 112903
* Properly emit __chkstk call instead of __alloca on non-mingw windows targets.Anton Korobeynikov2010-09-023-8/+66
| | | | | | Patch by Cameron Esfahani! llvm-svn: 112902
* stop forcing a noop AssemblyAnnotationWriter to silence #usesChris Lattner2010-09-021-5/+1
| | | | | | comments, these don't happen anymore. llvm-svn: 112901
* There is no need to use .set here.Devang Patel2010-09-021-8/+1
| | | | | | Thanks Chris! llvm-svn: 112900
* reapply 112894:Chris Lattner2010-09-021-12/+4
| | | | | | | | | | | | | | | | Remove #uses comments from functions: they we're padded out to column 50 and were potentially confusing for externally visible functions. going further, remove the "<i8**> [#uses=3]" comments entirely. They add a lot of noise, confuse people about what the IR is, and don't add any particular value. When the types are long it makes it really really hard to read IR. If someone is interested in this sort of thing, the right way to do this is to implement an AsmAnnotationWriter that produces the same output, and add a flag to llvm-dis (only) to produce this output. llvm-svn: 112899
* Move insertps mask decoding to header fileBruno Cardoso Lopes2010-09-022-28/+24
| | | | llvm-svn: 112896
* revert patch, need to update clang tests tooChris Lattner2010-09-021-4/+12
| | | | llvm-svn: 112895
* Remove #uses comments from functions: they we're padded out to column 50Chris Lattner2010-09-021-12/+4
| | | | | | | | | | | | | | | and were potentially confusing for externally visible functions. going further, remove the "<i8**> [#uses=3]" comments entirely. They add a lot of noise, confuse people about what the IR is, and don't add any particular value. When the types are long it makes it really really hard to read IR. If someone is interested in this sort of thing, the right way to do this is to implement an AsmAnnotationWriter that produces the same output, and add a flag to llvm-dis (only) to produce this output. llvm-svn: 112894
* more test cleanupChris Lattner2010-09-024-28/+4
| | | | llvm-svn: 112892
* remove some noise from tests.Chris Lattner2010-09-024-69/+69
| | | | llvm-svn: 112889
* Use the FindProgramByName fallback only with known absolute paths.Dan Gohman2010-09-021-4/+10
| | | | | | | | I wasn't able to convince myself that all GetMainExecutable implementations always return absolute paths; this prevents unexpected behavior in case they ever don't. llvm-svn: 112888
* we are past the point where these tests are useful.Chris Lattner2010-09-0214-329/+0
| | | | llvm-svn: 112887
* Revert int_x86_mmx_palignr_b intrinsic to match llvm-gcc's version.Bill Wendling2010-09-021-2/+2
| | | | llvm-svn: 112886
* Revert win64 changes. They seem to be incompleteAnton Korobeynikov2010-09-022-11/+7
| | | | llvm-svn: 112885
* For ARM stack frames that utilize variable sized objects and have eitherJim Grosbach2010-09-025-36/+98
| | | | | | | | | | | | | | | large local stack areas or require dynamic stack realignment, allocate a base register via which to access the local frame. This allows efficient access to frame indices not accessible via the FP (either due to being out of range or due to dynamic realignment) or the SP (due to variable sized object allocation). In particular, this greatly improves efficiency of access to spill slots in Thumb functions which contain VLAs. rdar://7352504 rdar://8374540 rdar://8355680 llvm-svn: 112883
* - Change __builtin_ia32_palignr intrinsic type to match the pattern in clang.Bill Wendling2010-09-021-5/+24
| | | | | | | | | | | | | | - Add patterns to match the following MMX builtins: * __builtin_ia32_vec_init_v8qi * __builtin_ia32_vec_init_v4hi * __builtin_ia32_vec_init_v2si * __builtin_ia32_vec_ext_v2si These builtins do not correspond to a single MMX instruction. They will have to be lowered -- most likely in the back-end. llvm-svn: 112881
* fix more AST updating bugs, correcting miscompilation in PR8041Chris Lattner2010-09-022-2/+51
| | | | llvm-svn: 112878
* Remove incorrect and poorly tested code for trying to reason about values on ↵Owen Anderson2010-09-021-16/+2
| | | | | | | | default edges of switches. Just return the conservatively correct answer. llvm-svn: 112876
OpenPOWER on IntegriCloud