summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Add X86 TZCNT instruction and patterns to select it. Also added core-avx2 ↵Craig Topper2011-10-148-5/+107
| | | | | | processor which is gcc's name for Haswell. llvm-svn: 141939
* Definition of function getMipsRegisterNumbering.Akira Hatanaka2011-10-141-0/+113
| | | | | | Patch by Jack Carter and Reed Kotler at Mips. llvm-svn: 141938
* Add definition of class MipsELFWriterInfo. Akira Hatanaka2011-10-143-0/+276
| | | | | | Patch by Jack Carter and Reed Kotler at Mips. llvm-svn: 141937
* Add missing relocation types.Akira Hatanaka2011-10-141-1/+3
| | | | | | Patch by Jack Carter and Reed Kotler at Mips. llvm-svn: 141936
* Add ELF relocation types for Mips.Akira Hatanaka2011-10-141-1/+55
| | | | | | Patch by Jack Carter and Reed Kotler at Mips. llvm-svn: 141935
* Fixup enumerations.Akira Hatanaka2011-10-141-0/+90
| | | | | | Patch by Jack Carter at Mips. llvm-svn: 141934
* Add more Mips relocation types.Akira Hatanaka2011-10-141-1/+21
| | | | | | Patch by Jack Carter at Mips. llvm-svn: 141932
* Ban rematerializable instructions with side effects.Jakob Stoklund Olesen2011-10-145-11/+19
| | | | | | | | | | TableGen infers unmodeled side effects on instructions without a pattern. Fix some instruction definitions where that was overlooked. Also raise an error if a rematerializable instruction has unmodeled side effects. That doen't make any sense. llvm-svn: 141929
* V_SET0 has no side effects.Jakob Stoklund Olesen2011-10-141-1/+1
| | | | | | | | | | TableGen will mark any pattern-less instruction as having unmodeled side effects. This is extra bad for V_SET0 which gets rematerialized a lot. This was part of the cause for PR11125, but the real bug was fixed in r141923. llvm-svn: 141924
* Add value numbers when spilling dead defs.Jakob Stoklund Olesen2011-10-142-1/+28
| | | | | | | | | | | | | | | | When spilling around an instruction with a dead def, remember to add a value number for the def. The missing value number wouldn't normally create problems since there would be an incoming live range as well. However, due to another bug we could spill a dead V_SET0 instruction which doesn't read any values. The missing value number caused an empty live range to be created which is dangerous since it doesn't interfere with anything. This fixes part of PR11125. llvm-svn: 141923
* Avoid undefined behavior in negation in LSR. Patch by Ahmed Charles.Eli Friedman2011-10-131-2/+2
| | | | | | Someone more familiar with LSR should double-check that the extra cast is actually doing the right thing in the overflow cases; I'm not completely confident that's that case. llvm-svn: 141916
* Fix undefined shift. Patch by Ahmed Charles.Eli Friedman2011-10-131-1/+1
| | | | llvm-svn: 141914
* Simplify assertion, and avoid undefined shift. Based on patch by Ahmed Charles.Eli Friedman2011-10-131-8/+1
| | | | llvm-svn: 141912
* Support/Windows: Add support modifying memory permissions on Windows. Patch ↵Michael J. Spencer2011-10-131-3/+45
| | | | | | by Aaron Ballman! llvm-svn: 141910
* Fix undefined shifts and abs in Alpha backend. Based on patch by Ahmed Charles.Eli Friedman2011-10-131-4/+3
| | | | llvm-svn: 141909
* Support/Windows: Add efficent RW mutex on Windows. Patch by Aaron Ballman!Michael J. Spencer2011-10-131-11/+87
| | | | llvm-svn: 141907
* Fixed typo.Lang Hames2011-10-131-1/+1
| | | | llvm-svn: 141906
* Avoid undefined behavior in signed integer negation. Patch by Ahmed Charles.Eli Friedman2011-10-131-1/+2
| | | | llvm-svn: 141905
* Simplify and avoid undefined shift. Based on patch by Ahmed Charles.Eli Friedman2011-10-131-2/+1
| | | | llvm-svn: 141903
* ELF: Fix the section that relocations apply to. Add test to verify. Patch by ↵Michael J. Spencer2011-10-132-3/+7
| | | | | | Danil Malyshev! llvm-svn: 141901
* llvm-object: Add inline relocation information to disassembly.Michael J. Spencer2011-10-132-6/+80
| | | | llvm-svn: 141897
* Enhance the memdep interface so that users can tell the difference between a ↵Eli Friedman2011-10-136-61/+107
| | | | | | | | dependency which cannot be calculated and a path reaching the entry point of the function. This patch introduces isNonFuncLocal, which replaces isUnknown in some cases. Patch by Xiaoyi Guo. llvm-svn: 141896
* Reapply r141870, SCEV expansion of post-inc.Andrew Trick2011-10-132-2/+125
| | | | | | | Speculatively reapply to see if this test case still crashes on linux. I may have fixed it in my last checkin. llvm-svn: 141895
* Don't forget to reconstruct D after changing the scope that we'reEric Christopher2011-10-131-1/+3
| | | | | | looking at. llvm-svn: 141892
* Update IntrinsicsXCore.td with the normal LLVM notice at the top of the file.Richard Osborne2011-10-131-2/+5
| | | | llvm-svn: 141889
* llvm-objdump: Fix whitespace.Michael J. Spencer2011-10-131-1/+1
| | | | llvm-svn: 141886
* llvm-objdump: Fix dumping of multiple symbols with the same address.Michael J. Spencer2011-10-131-1/+12
| | | | | | | This happens in COFF because there is a symbol for the beginning of each section. llvm-svn: 141885
* COFF: Implement sectionContainsSymbol for relocatable files only.Michael J. Spencer2011-10-131-2/+8
| | | | llvm-svn: 141884
* Fix memory corruption I introduced a few checkins ago.Andrew Trick2011-10-131-5/+6
| | | | | | Self-review easily caught this obvious bug. llvm-svn: 141880
* configure: [cygming] Set --disable-embed-stdcxx by default on --enable-shared.NAKAMURA Takumi2011-10-132-4/+4
| | | | | | Many distros provide stdc++.dll recently. --enable-embed-stdcxx might confuse people. llvm-svn: 141875
* SETEND is not allowed in an IT block.Owen Anderson2011-10-131-0/+1
| | | | llvm-svn: 141874
* Revert r141870. The test case crashes on linux with data corruption. A ↵Andrew Trick2011-10-132-125/+2
| | | | | | deeper issue was exposed. llvm-svn: 141873
* docs/CMake.html: Clarify LLVM_LIT_TOOLS_DIR as :PATH.NAKAMURA Takumi2011-10-131-1/+1
| | | | llvm-svn: 141872
* Fix incorrect ELF typedefs.Michael J. Spencer2011-10-131-21/+19
| | | | llvm-svn: 141871
* LSR: Reuse the post-inc expansion of expressions.Andrew Trick2011-10-132-2/+125
| | | | | | | | This avoids unnecessary expansion of expressions and allows the SCEV expander to work on expression DAGs, not just trees. Fixes PR11090. llvm-svn: 141870
* build: Remove some stray LLVMC configure variables.Daniel Dunbar2011-10-131-11/+0
| | | | llvm-svn: 141869
* SCEV: Rewrite TrandformForPostIncUse to handle expression DAGs, notAndrew Trick2011-10-131-30/+70
| | | | | | | | just expression trees. Partially fixes PR11090. Test case will be with the full fix. llvm-svn: 141868
* Slightly more useful tracing.Andrew Trick2011-10-131-1/+2
| | | | llvm-svn: 141867
* Force CPU type on test so it doesn't accidentally emit movbe instead of ↵Benjamin Kramer2011-10-131-1/+1
| | | | | | bswap on Intel Atom CPUs. llvm-svn: 141863
* Mark 'branch indirect' instruction as an indirect branch.Kalle Raiskila2011-10-132-8/+10
| | | | | | Not having it confused assembly printing of jumptables. llvm-svn: 141862
* More closely follow libgcc, which has code after the `ret' instruction toBill Wendling2011-10-132-6/+25
| | | | | | | release the stack segment and reset the stack pointer. Place the code in its own MBB to make the verifier happy. llvm-svn: 141859
* Revert r141854 because it was causing failures:Bill Wendling2011-10-137-105/+5
| | | | | | | | | | | | | | | http://lab.llvm.org:8011/builders/llvm-x86_64-linux/builds/101 --- Reverse-merging r141854 into '.': U test/MC/Disassembler/X86/x86-32.txt U test/MC/Disassembler/X86/simple-tests.txt D test/CodeGen/X86/bmi.ll U lib/Target/X86/X86InstrInfo.td U lib/Target/X86/X86ISelLowering.cpp U lib/Target/X86/X86.td U lib/Target/X86/X86Subtarget.h llvm-svn: 141857
* Should not add instructions to a BB after a return instruction. The machine ↵Bill Wendling2011-10-132-2/+3
| | | | | | instruction verifier doesn't like this, nor do I. llvm-svn: 141856
* Use an existing method.Cameron Zwarich2011-10-131-1/+1
| | | | llvm-svn: 141855
* Add X86 TZCNT instruction and patterns to select it. Also added core-avx2 ↵Craig Topper2011-10-137-5/+105
| | | | | | processor which is gcc's name for Haswell. llvm-svn: 141854
* Add 'implicit EFLAGS' to patterns for popcnt and lzcntCraig Topper2011-10-132-12/+23
| | | | llvm-svn: 141853
* Elf_Word is not POD! Stop using it in a DenseMap.Nick Lewycky2011-10-131-7/+4
| | | | llvm-svn: 141851
* If MI is deleted then remove it from the set. If a new MI is created, it couldNick Lewycky2011-10-131-0/+2
| | | | | | | have the same address as the one we deleted, and we don't want that in the set yet. Noticed by inspection. llvm-svn: 141849
* Tabs to spaces.Nick Lewycky2011-10-131-2/+2
| | | | llvm-svn: 141844
* Add missing braces to pacify GCC's -Wparentheses.Nick Lewycky2011-10-131-1/+2
| | | | llvm-svn: 141842
OpenPOWER on IntegriCloud