- Nov 15, 2012
-
-
Joel Jones authored
llvm-svn: 168088
-
Adhemerval Zanella authored
This patch lowers the llvm.floor, llvm.ceil, llvm.trunc, and llvm.nearbyint to Altivec instruction when using 4 single-precision float vectors. llvm-svn: 168086
-
Daniel Dunbar authored
- The code could infinite loop trying to create unique files, if the directory containing the unique file exists, but open() calls on non-existent files in the path return ENOENT. This is true on the /dev/fd filesystem, for example. - Will add a clang side test case for this. llvm-svn: 168081
-
Akira Hatanaka authored
llvm-svn: 168078
-
Jakub Staszak authored
llvm-svn: 168076
-
Ulrich Weigand authored
to guarantee deterministic code generation. llvm-svn: 168074
-
Evan Cheng authored
llvm-svn: 168073
-
Sergei Larin authored
Add myself as owner of VLIW Instruction Scheduling and Packetization. llvm-svn: 168072
-
Anton Korobeynikov authored
Update the email address (old works too, but less reliable) while there llvm-svn: 168065
-
Jakub Staszak authored
llvm-svn: 168064
-
Andrew Trick authored
llvm-svn: 168058
-
Andrew Trick authored
llvm-svn: 168057
-
Chad Rosier authored
positive. In this particular case, R6 was being spilled by the register scavenger when it was in fact dead. The isUsed function reported R6 as used because the R6_R7 alias was reserved (due to the fact that we've reserved R7 as the FP). The solution is to only check if the original register (i.e., R6) isReserved and not the aliases. The aliases are only checked to make sure they're available. The test case is derived from one of the nightly tester benchmarks and is rather intractable and difficult to reproduce, so I haven't included it. rdar://12592448 llvm-svn: 168054
-
Sergei Larin authored
Similarly to several recent fixes throughout the code replace std::map use with the MapVector. Add find() method to the MapVector. llvm-svn: 168051
-
Dmitri Gribenko authored
llvm-svn: 168049
-
Dmitri Gribenko authored
llvm-svn: 168048
-
Duncan Sands authored
llvm-svn: 168042
-
Hans Wennborg authored
For global variables that get the same value stored into them everywhere, GlobalOpt will replace them with a constant. The problem is that a thread-local GlobalVariable looks like one value (the address of the TLS var), but is different between threads. This patch introduces Constant::isThreadDependent() which returns true for thread-local variables and constants which depend on them (e.g. a GEP into a thread-local array), and teaches GlobalOpt not to track such values. llvm-svn: 168037
-
Guy Benyei authored
The new OpenCL SPIR extension spec will define separate SPIR for 32 and 64 bit architectures. llvm-svn: 168036
-
Duncan Sands authored
the utility for extracting a chain of operations from the IR, thought that it might as well combine any constants it came across (rather than just returning them along with everything else). On the other hand, the factorization code would like to see the individual constants (this is quite reasonable: it is much easier to pull a factor of 3 out of 2*3 than it is to pull it out of 6; you may think 6/3 isn't so hard, but due to overflow it's not as easy to undo multiplications of constants as it may at first appear). This patch therefore makes LinearizeExprTree stupider: it now leaves optimizing to the optimization part of reassociate, and sticks to just analysing the IR. llvm-svn: 168035
-
Craig Topper authored
llvm-svn: 168030
-
Craig Topper authored
llvm-svn: 168029
-
Craig Topper authored
Make a bunch of floating point operations on vectors Expand so that instruction selection won't fail. llvm-svn: 168028
-
Craig Topper authored
llvm-svn: 168026
-
Craig Topper authored
llvm-svn: 168025
-
Andrew Trick authored
Jakub Staszak spotted this in review. I don't notice these things until I manually rerun benchmarks. But reducing unit tests is a very high priority. llvm-svn: 168021
-
Eric Christopher authored
llvm-svn: 168014
-
NAKAMURA Takumi authored
llvm-svn: 168013
-
Jakub Staszak authored
llvm-svn: 168009
-
Owen Anderson authored
Add doInitialization and doFinalization methods to ModulePass's, to allow them to be re-initialized and reused on multiple Module's. Patch by Pedro Artigas. llvm-svn: 168008
-
Jakub Staszak authored
llvm-svn: 168006
-
NAKAMURA Takumi authored
llvm-svn: 168001
-
Bill Schmidt authored
PPC64 target. The five tests modified herein test code generation that is sensitive to the code model selected. So I've added -code-model=small to the RUN commands for each. Since small code model is the default, this has no effect for now; but this prepares us for eventually changing the default to medium code model for PPC64. Test changes verified with small and medium code model as default on powerpc64-unknown-linux-gnu. All tests continue to pass. llvm-svn: 167999
-
Sean Silva authored
llvm-svn: 167998
-
Sean Silva authored
Some small related fixups to TestingGuide too. llvm-svn: 167996
-
- Nov 14, 2012
-
-
Jakub Staszak authored
llvm-svn: 167991
-
Jakub Staszak authored
llvm-svn: 167989
-
NAKAMURA Takumi authored
llvm-svn: 167988
-
Eric Christopher authored
llvm-svn: 167987
-
Eric Christopher authored
llvm-svn: 167986
-