- May 07, 2013
-
-
Timur Iskhodzhanov authored
llvm-svn: 181296
-
Arnold Schwaighofer authored
We were passing an i32 to ConstantInt::get where an i64 was needed and we must also pass the sign if we pass negatives numbers. The start index passed to getConsecutiveVector must also be signed. Should fix PR15882. llvm-svn: 181286
-
David Blaikie authored
llvm-svn: 181271
-
Tom Stellard authored
Patch by: Michel Dänzer Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181269
-
Tom Stellard authored
Patch by: Michel Dänzer Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181268
-
Tom Stellard authored
Patch by: Michel Dänzer Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181267
-
Tom Stellard authored
Patch by: Michel Dänzer Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181266
-
Tom Stellard authored
Patch by: Michel Dänzer Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181265
-
Tom Stellard authored
Patch by: Michel Dänzer Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181263
-
- May 06, 2013
-
-
Krzysztof Parzyszek authored
llvm-svn: 181255
-
Andrew Trick authored
Implemented public interface for modifying registered (not positional or sink options) command line options at runtime. Patch by Dan Liew! llvm-svn: 181254
-
Andrew Trick authored
Patch by Dan Liew! llvm-svn: 181253
-
Krzysztof Parzyszek authored
llvm-svn: 181250
-
David Majnemer authored
llvm-svn: 181249
-
Eric Christopher authored
llvm-svn: 181248
-
Eric Christopher authored
llvm-svn: 181247
-
Jyotsna Verma authored
llvm-svn: 181235
-
Krzysztof Parzyszek authored
llvm-svn: 181233
-
Andrew Trick authored
Test case by Michele Scandale! Fixes PR10293: Load not hoisted out of loop with multiple exits. There are few regressions with this patch, now tracked by rdar:13817079, and a roughly equal number of improvements. The regressions are almost certainly back luck because LoopRotate has very little idea of whether rotation is profitable. Doing better requires a more comprehensive solution. This checkin is a quick fix that lacks generality (PR10293 has a counter-example). But it trivially fixes the case in PR10293 without interfering with other cases, and it does satify the criteria that LoopRotate is a loop canonicalization pass that should avoid heuristics and special cases. I can think of two approaches that would probably be better in the long run. Ultimately they may both make sense. (1) LoopRotate should check that the current header would make a good loop guard, and that the loop does not already has a sufficient guard. The artifical SimplifiedLoopLatch check would be unnecessary, and the design would be more general and canonical. Two difficulties: - We need a strong guarantee that we won't endlessly rotate, so the analysis would need to be precise in order to avoid the SimplifiedLoopLatch precondition. - Analysis like this are usually based on SCEV, which we don't want to rely on. (2) Rotate on-demand in late loop passes. This could even be done by shoving the loop back on the queue after the optimization that needs it. This could work well when we find LICM opportunities in multi-branch loops. This requires some work, and it doesn't really solve the problem of SCEV wanting a loop guard before the analysis. llvm-svn: 181230
-
Tom Stellard authored
v2: - Replace switch statement with TSFlags query Reviewed-by:
Vincent Lejeune <vljn@ovi.com> Tested-By:
Aaron Watry <awatry@gmail.com> llvm-svn: 181229
-
Tom Stellard authored
Reviewed-by:
Vincent Lejeune <vljn@ovi.com> Tested-By:
Aaron Watry <awatry@gmail.com> llvm-svn: 181228
-
Eric Christopher authored
llvm-svn: 181227
-
Eric Christopher authored
llvm-svn: 181226
-
Tom Stellard authored
Reviewed-by:
Vincent Lejeune <vljn@ovi.com> Tested-By:
Aaron Watry <awatry@gmail.com> llvm-svn: 181225
-
Eric Christopher authored
llvm-svn: 181224
-
Tom Stellard authored
Reviewed-by:
Vincent Lejeune <vljn@ovi.com> Tested-By:
Aaron Watry <awatry@gmail.com> llvm-svn: 181223
-
Ulrich Weigand authored
[SystemZ] Update non-pic DWARF encodings As pointed out by Rafael Espindola, we should match the DWARF encodings produced by GCC in both pic and non-pic modes. This was not the case for the non-pic case. This patch changes all DWARF encodings to DW_EH_PE_absptr for the non-pic case, just like GCC does. The test case is updated to check for both variants. llvm-svn: 181222
-
Adhemerval Zanella authored
This patch handles the R_PPC64_REL64 relocation type for powerpc64 for mcjit. llvm-svn: 181220
-
Jean-Luc Duprat authored
A * (1 - (uitofp i1 C)) -> select C, 0, A B * (uitofp i1 C) -> select C, B, 0 select C, 0, A + select C, B, 0 -> select C, B, A These come up in code that has been hand-optimized from a select to a linear blend, on platforms where that may have mattered. We want to undo such changes with the following transform: A*(1 - uitofp i1 C) + B*(uitofp i1 C) -> select C, A, B llvm-svn: 181216
-
Ulrich Weigand authored
[SystemZ] Add back end This adds the actual lib/Target/SystemZ target files necessary to implement the SystemZ target. Note that at this point, the target cannot yet be built since the configure bits are missing. Those will be provided shortly by a follow-on patch. This version of the patch incorporates feedback from reviews by Chris Lattner and Anton Korobeynikov. Thanks to all reviewers! Patch by Richard Sandiford. llvm-svn: 181203
-
Ulrich Weigand authored
[SystemZ] Define DWARF encoding This is another patch in preparation for adding the SystemZ target. It defines the appropriate values for DWARF encodings; the intent is to be compatible with what GCC currently does on the target. Patch by Richard Sandiford. llvm-svn: 181201
-
Ulrich Weigand authored
[PowerPC] Fix memory corruption in AsmParser As pointed out by Evgeniy Stepanov, assigning a std::string temporary to a StringRef is not a good idea. Rework MatchRegisterName to avoid using the .lower routine. llvm-svn: 181192
-
Michael Kuperstein authored
(Would sometimes optimize away conacts used to extend a vector with undef values) llvm-svn: 181186
-
Nadav Rotem authored
llvm-svn: 181178
-
Nadav Rotem authored
Thanks Nick Lewycky for pointing this out. llvm-svn: 181177
-
Matt Arsenault authored
Use unknown results for places where it would be needed llvm-svn: 181176
-
Rafael Espindola authored
We used to disable constant merging not only if a constant is llvm.used, but also if an alias of a constant is llvm.used. This change fixes that. llvm-svn: 181175
-
- May 05, 2013
-
-
Rafael Espindola authored
This gets exception handling working on ELF and Macho (x86-64 at least). Other than the EH frame registration, this patch also implements support for GOT relocations which are used to locate the personality function on MachO. llvm-svn: 181167
-
Evan Cheng authored
indirect branch at the end of the BB. Otherwise if-converter, branch folding pass may incorrectly update its successor info if it consider BB as fallthrough to the next BB. rdar://13782395 llvm-svn: 181161
-
-