summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Set ABI if it hasn't been set on the command line.Akira Hatanaka2011-09-212-1/+10
| | | | | | Check if architecture & ABI combination is valid. llvm-svn: 140230
* Fix typo.Akira Hatanaka2011-09-211-2/+2
| | | | llvm-svn: 140229
* Lower ARM adds/subs to add/sub after adding optional CPSR operand.Andrew Trick2011-09-2110-149/+159
| | | | | | | | | | | | | This is still a hack until we can teach tblgen to generate the optional CPSR operand rather than an implicit CPSR def. But the strangeness is now limited to the selection DAG. ADD/SUB MI's no longer have implicit CPSR defs, nor do we allow flag setting variants of these opcodes in machine code. There are several corner cases to consider, and getting one wrong would previously lead to nasty miscompilation. It's not the first time I've debugged one, so this time I added enough verification to ensure it won't happen again. llvm-svn: 140228
* whitespaceAndrew Trick2011-09-211-4/+4
| | | | llvm-svn: 140227
* llvm-objdump: Output line info next to the disassembly if available.Benjamin Kramer2011-09-213-53/+156
| | | | | | | | | | | | MachO-only at the moment, sorry. Usage: $ llvm-objdump -d -m -g -dsym=a.out.dSYM/Contents/Resources/DWARF/a.out a.out _main: 100000e90: 55 pushq %rbp ## test.c:11:3 … llvm-svn: 140224
* DebugInfo: Add equality operators and default constructor to DILineInfo.Benjamin Kramer2011-09-211-0/+10
| | | | llvm-svn: 140223
* Remove the rest of the compiler checking from the top level configureEric Christopher2011-09-213-204/+2
| | | | | | script. Only the testsuite project needs to know this information. llvm-svn: 140220
* In the disassembler C API, be careful not to confuse the comment streamer ↵Owen Anderson2011-09-219-24/+28
| | | | | | that the disassembler outputs annotations on with the streamer that the InstPrinter will print them on. llvm-svn: 140217
* Remove llvm-gcc and various compiler handling from llvm. It's not neededEric Christopher2011-09-205-465/+10
| | | | | | here anymore and has been migrated to the test-suite project. llvm-svn: 140216
* Change the names of functions isMips* to hasMips*.Akira Hatanaka2011-09-204-15/+15
| | | | llvm-svn: 140214
* This test is completely invalid with the modern EH model. Delete.Bill Wendling2011-09-201-17/+0
| | | | llvm-svn: 140213
* Make sure IPSCCP never marks a tracked call as overdefined in ↵Eli Friedman2011-09-202-9/+53
| | | | | | | | SCCPSolver::ResolvedUndefsIn. If we do, we can end up in a situation where a function is resolved to return a constant, but the caller is marked overdefined, which confuses the code later. <rdar://problem/9956541> (again). llvm-svn: 140210
* Add a DAGCombine for subvector extracts to remove useless chains ofBruno Cardoso Lopes2011-09-202-0/+51
| | | | | | | subvector inserts and extracts. Initial patch by Rackover, Zvi with some tweak done by me. llvm-svn: 140204
* Revert r140097, working on a better approachBruno Cardoso Lopes2011-09-202-22/+0
| | | | llvm-svn: 140203
* lib/Linker: add support of deps which does not end with ".so".Ivan Krasin2011-09-201-0/+8
| | | | | | | | It happens (for example) when you want to have a dependency on the .so with the specific version, like liblzma.so.1.0.0 or libcrypto.so.0.9.8. llvm-svn: 140201
* Simplify max/minp[s|d] dagcombine matchingBruno Cardoso Lopes2011-09-201-6/+3
| | | | llvm-svn: 140199
* Update this test to the new EH model.Bill Wendling2011-09-201-0/+4
| | | | | | | Though I think it may be obsolete with the loop extract changes. And I couldn't get the old version of LLVM to compile so that I could reduce this testcase. llvm-svn: 140197
* Relax this condition.Bill Wendling2011-09-201-2/+1
| | | | | | | Some passes require breaking critical edges before they're called. Don't segfault because of that. llvm-svn: 140196
* Place the check for an exit landing pad where it will be run on both code ↵Bill Wendling2011-09-201-6/+15
| | | | | | paths through the if-then-else. llvm-svn: 140195
* Fix typos.Eric Christopher2011-09-201-2/+2
| | | | llvm-svn: 140194
* Omit extracting a loop if one of the exits is a landing pad.Bill Wendling2011-09-201-5/+11
| | | | | | | | | The landing pad must accompany the invoke when it's extracted. However, if it does, then the loop isn't properly extracted. I.e., the resulting extraction has a loop in it. The extracted function is then extracted, etc. resulting in an infinite loop. llvm-svn: 140193
* Remove the hack to check UNAME_RELEASE when identifying the Darwin version.Bob Wilson2011-09-201-9/+0
| | | | | | | | | This was only needed to locate llvm-gcc's installation directory when clang falls back to run llvm-gcc for i386 kexts. As of clang svn r140187, we're now just searching paths with several different Darwin versions on either side of the current version, so this is no longer needed. llvm-svn: 140188
* Tidy up a bit more, fix tab and remove trailing whitespacesBruno Cardoso Lopes2011-09-201-9/+5
| | | | llvm-svn: 140186
* The wrong relocation was being emitted for several SSSE3 instructions.Bruno Cardoso Lopes2011-09-202-1/+7
| | | | | | | This fixes PR10963. Thanks to Benjamin for finding the wrong tablegen declaration. llvm-svn: 140184
* Tidy up code!Bruno Cardoso Lopes2011-09-201-6/+5
| | | | llvm-svn: 140183
* Fix a bug introduced during refactoring a couple of months ago. Cortex-M3 ↵Evan Cheng2011-09-202-9/+43
| | | | | | does not support Thumb2 dsp instructions. rdar://10152911. llvm-svn: 140181
* Initial Mips64 support. Patch by Liu with some modifications.Akira Hatanaka2011-09-202-2/+20
| | | | llvm-svn: 140178
* Update to new EH model.Bill Wendling2011-09-201-1/+4
| | | | llvm-svn: 140177
* Check the terminator, not the basic block.Bill Wendling2011-09-201-1/+2
| | | | llvm-svn: 140176
* When extracting a basic block that ends in an 'invoke' instruction, we need toBill Wendling2011-09-201-7/+46
| | | | | | | | | | extract its associated landing pad block as well. However, that landing pad block may have more than one predecessor. So split the landing pad block so that individual landing pads have only one predecessor. This type of transformation may produce a false positive with bugpoint. llvm-svn: 140173
* Use ArrayRef instead of an explicit 'const std::vector &'.Bill Wendling2011-09-202-8/+12
| | | | llvm-svn: 140172
* If simple ownership works then friendship is not required.Devang Patel2011-09-201-2/+1
| | | | llvm-svn: 140169
* Use ArrayRef instead of 'const std::vector' to pass around the list of basic ↵Bill Wendling2011-09-201-8/+10
| | | | | | blocks to extract. llvm-svn: 140168
* Update GCOVLines to provide interfaces to write line table and calculate ↵Devang Patel2011-09-201-13/+17
| | | | | | complete length. llvm-svn: 140167
* U is good enoughDouglas Gregor2011-09-201-2/+2
| | | | llvm-svn: 140166
* Fix comments.Bill Wendling2011-09-201-4/+4
| | | | llvm-svn: 140164
* Remove mention of llvm-gcc and llvm-g++. -Ministry of TruthBill Wendling2011-09-201-19/+0
| | | | llvm-svn: 140163
* Restore hasPostISelHook tblgen flag.Andrew Trick2011-09-208-9/+28
| | | | | | | | | | No functionality change. The hook makes it explicit which patterns require "special" handling. i.e. it self-documents tblgen deficiencies. I plan to add verification in ExpandISelPseudos and Thumb2SizeReduce to catch any missing hasPostISelHooks. Otherwise it's too fragile. llvm-svn: 140160
* Eliminate sign-comparison warnings in APIntDouglas Gregor2011-09-201-2/+4
| | | | llvm-svn: 140158
* Add mips64 & mips64el to Triple. Patch by Liu with modifications.Akira Hatanaka2011-09-202-0/+12
| | | | llvm-svn: 140157
* Update comment.Devang Patel2011-09-201-2/+1
| | | | llvm-svn: 140156
* Use StringRef instead of std::string.Devang Patel2011-09-201-1/+1
| | | | llvm-svn: 140154
* llvm-objdump: factor code better, add comments.Benjamin Kramer2011-09-203-159/+183
| | | | llvm-svn: 140153
* Port over more Thumb2 encoding tests to decoding tests.Owen Anderson2011-09-201-0/+608
| | | | llvm-svn: 140152
* Eliminate unnecessary copy of FileName from GCOVLines. Devang Patel2011-09-201-7/+6
| | | | | | GCOVLines is always accessed through a StringMap where the key is FileName. llvm-svn: 140151
* There is no need to write a local utility routine to find subprogram info if ↵Devang Patel2011-09-201-10/+1
| | | | | | the utility routine is already available in DebugInfo. llvm-svn: 140145
* test/CodeGen/X86/avx-minmax.ll: Unbreak Win32.NAKAMURA Takumi2011-09-201-4/+4
| | | | | | | | | | | On Windows x64, 128-bit arguments are not passed by reg but by indirect. eg. maxpd: vmovapd (%rcx), %xmm0 vmaxpd (%rdx), %xmm0, %xmm0 FIXME: I don't care YMM on x64 for now. llvm-svn: 140143
* Extend changes from r139986 to produce 256-bit AVX minps/minpd/maxps/maxpd.Craig Topper2011-09-202-3/+71
| | | | llvm-svn: 140140
* include/llvm/Config/llvm-config.h.in: Add the entry LLVM_PATH_XDOT_PY, for ↵NAKAMURA Takumi2011-09-201-0/+3
| | | | | | consistency against llvm-config.h.cmake. llvm-svn: 140137
* include/llvm/Config: Reorder LLVM_HAS_ATOMICS along config.h.in for consistency.NAKAMURA Takumi2011-09-203-9/+9
| | | | llvm-svn: 140136
OpenPOWER on IntegriCloud