- Oct 14, 2011
-
-
Akira Hatanaka authored
Patch by Jack Carter at Mips. llvm-svn: 141934
-
Akira Hatanaka authored
Patch by Jack Carter at Mips. llvm-svn: 141932
-
Jakob Stoklund Olesen authored
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
-
Jakob Stoklund Olesen authored
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
-
Jakob Stoklund Olesen authored
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
-
Eli Friedman authored
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
-
Eli Friedman authored
llvm-svn: 141914
-
Eli Friedman authored
llvm-svn: 141912
-
Michael J. Spencer authored
llvm-svn: 141910
-
Eli Friedman authored
llvm-svn: 141909
-
Michael J. Spencer authored
llvm-svn: 141907
-
Eli Friedman authored
llvm-svn: 141905
-
Eli Friedman authored
llvm-svn: 141903
-
Michael J. Spencer authored
llvm-svn: 141901
-
Eli Friedman authored
Enhance the memdep interface so that users can tell the difference between a 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
-
- Oct 13, 2011
-
-
Andrew Trick authored
Speculatively reapply to see if this test case still crashes on linux. I may have fixed it in my last checkin. llvm-svn: 141895
-
Eric Christopher authored
looking at. llvm-svn: 141892
-
Michael J. Spencer authored
llvm-svn: 141884
-
Andrew Trick authored
Self-review easily caught this obvious bug. llvm-svn: 141880
-
Owen Anderson authored
llvm-svn: 141874
-
Andrew Trick authored
llvm-svn: 141873
-
Andrew Trick authored
This avoids unnecessary expansion of expressions and allows the SCEV expander to work on expression DAGs, not just trees. Fixes PR11090. llvm-svn: 141870
-
Andrew Trick authored
just expression trees. Partially fixes PR11090. Test case will be with the full fix. llvm-svn: 141868
-
Andrew Trick authored
llvm-svn: 141867
-
Kalle Raiskila authored
Not having it confused assembly printing of jumptables. llvm-svn: 141862
-
Bill Wendling authored
release the stack segment and reset the stack pointer. Place the code in its own MBB to make the verifier happy. llvm-svn: 141859
-
Bill Wendling authored
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
-
Bill Wendling authored
Should not add instructions to a BB after a return instruction. The machine instruction verifier doesn't like this, nor do I. llvm-svn: 141856
-
Cameron Zwarich authored
llvm-svn: 141855
-
Craig Topper authored
Add X86 TZCNT instruction and patterns to select it. Also added core-avx2 processor which is gcc's name for Haswell. llvm-svn: 141854
-
Craig Topper authored
llvm-svn: 141853
-
Nick Lewycky authored
llvm-svn: 141851
-
Nick Lewycky authored
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
-
Nick Lewycky authored
llvm-svn: 141844
-
Nick Lewycky authored
llvm-svn: 141842
-
Jakob Stoklund Olesen authored
Now that MI->getRegClassConstraint() can also handle inline assembly, don't bail when recomputing the register class of a virtual register used by inline asm. This fixes PR11078. llvm-svn: 141836
-
Jakob Stoklund Olesen authored
Most instructions have some requirements for their register operands. Usually, this is expressed as register class constraints in the MCInstrDesc, but for inline assembly the constraints are encoded in the flag words. llvm-svn: 141835
-
Jakob Stoklund Olesen authored
llvm-svn: 141834
-
Jakob Stoklund Olesen authored
The inline asm operand constraint is initially encoded in the virtual register for the operand, but that register class may change during coalescing, and the original constraint is lost. Encode the original register class as part of the flag word for each inline asm operand. This makes it possible to recover the actual constraint required by inline asm, just like we can for normal instructions. llvm-svn: 141833
-
Bill Wendling authored
our current machine instruction defines a register with the same register class as what's being replaced. This showed up in the SPEC 403.gcc benchmark, where it would ICE because a tail call was expecting one register class but was given another. (The machine instruction verifier catches this situation.) <rdar://problem/10270968> llvm-svn: 141830
-