- Nov 25, 2010
-
-
Benjamin Kramer authored
llvm-svn: 120146
-
Rafael Espindola authored
llvm-svn: 120145
-
- Nov 24, 2010
-
-
Nick Lewycky authored
whether the pointer can be replaced with the global variable it is a copy of. Fixes PR8680. llvm-svn: 120126
-
Rafael Espindola authored
for any relocation to a symbol defined in a tls section. llvm-svn: 120121
-
Rafael Espindola authored
Patch by David Meyer, I added the test. llvm-svn: 120104
-
Rafael Espindola authored
sets the type of a symbol to STT_TLS. llvm-svn: 120100
-
Wesley Peck authored
Updating MBlaze .mask and .frame directives to match GCC's output and fixing regression introduced in 120095 by checking MCStreamer::hasRawTextSupport. llvm-svn: 120097
-
Wesley Peck authored
1. Fixing error where basic block labels were not being printed out when they need to be for the MBlaze backend because AsmPrinter::isBlockOnlyReachableByFallthrough does not take into account delay slots. 2. Re-adding .mask and .frame directives in printed assembly. 3. Adding .ent and .end directives in printed assembly. 4. Minor cleanups to MBlaze backend. llvm-svn: 120095
-
Kalle Raiskila authored
llvm-svn: 120092
-
Kalle Raiskila authored
Fix by Visa Putkinen! llvm-svn: 120090
-
Rafael Espindola authored
fixes PR8659. llvm-svn: 120076
-
- Nov 23, 2010
-
-
Chris Lattner authored
file descriptor into a MemoryBuffer (and closes the FD). llvm-svn: 120065
-
Duncan Sands authored
llvm-svn: 120051
-
Benjamin Kramer authored
E.g. -5 % 5 is 0 with srem and 1 with urem. Also addresses Frits van Bommel's comments. llvm-svn: 120049
-
Duncan Sands authored
in two places that are really interested in simplified instructions, not constants. llvm-svn: 120044
-
Duncan Sands authored
(which does constant folding and more) is called a few lines later. llvm-svn: 120042
-
Jason W Kim authored
llvm-svn: 120035
-
Bob Wilson authored
We need to check if the individual vector elements are sign/zero-extended values. For now this only handles constants values. Radar 8687140. llvm-svn: 120034
-
Benjamin Kramer authored
This allows to transform the rem in "1 << ((int)x % 8);" to an and. llvm-svn: 120028
-
Duncan Sands authored
Stylistic improvement suggested by Frits van Bommel. llvm-svn: 120026
-
Duncan Sands authored
llvm-svn: 120025
-
Duncan Sands authored
fairly systematic way in instcombine. Some of these cases were already dealt with, in which case I removed the existing code. The case of Add has a bunch of funky logic which covers some of this plus a few variants (considers shifts to be a form of multiplication), which I didn't touch. The simplification performed is: A*B+A*C -> A*(B+C). The improvement is to do this in cases that were not already handled [such as A*B-A*C -> A*(B-C), which was reported on the mailing list], and also to do it more often by not checking for "only one use" if "B+C" simplifies. llvm-svn: 120024
-
Kalle Raiskila authored
shifts. llvm-svn: 120022
-
Rafael Espindola authored
llvm-svn: 120017
-
Duncan Sands authored
llvm-svn: 120016
-
Duncan Sands authored
are constant. There was in fact one exception to this (phi nodes) - so remove that exception (InstructionSimplify handles this so there should be no loss). llvm-svn: 120015
-
Rafael Espindola authored
While here, remove unused argument and rename UpdateForSlide to Invalidate. llvm-svn: 120009
-
Rafael Espindola authored
llvm-svn: 120006
-
Chris Lattner authored
documented and only used by some clang stuff I just removed. llvm-svn: 120002
-
Rafael Espindola authored
llvm-svn: 119999
-
Wesley Peck authored
llvm-svn: 119990
-
Chris Lattner authored
patch by Greg Pfeil! llvm-svn: 119989
-
Chris Lattner authored
on this instcombine xform. This fixes a miscompilation of 403.gcc. llvm-svn: 119988
-
- Nov 22, 2010
-
-
Jason W Kim authored
llvm-svn: 119986
-
Rafael Espindola authored
llvm-svn: 119985
-
Benjamin Kramer authored
llvm-svn: 119984
-
Jason W Kim authored
llvm-svn: 119982
-
Jason W Kim authored
llvm-svn: 119981
-
Jason W Kim authored
llvm-svn: 119979
-
Jason W Kim authored
Refactor the ELFRelocationEntry (pull up) and move the arch-specific statics to inside the class where it belongs. Next step is to rationally break apart the RecordRelocation() Probably the step will be to have 1 member function for ech slot of the ELFRelocationEntry() llvm-svn: 119978
-