- May 07, 2013
-
-
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
-
Krzysztof Parzyszek authored
llvm-svn: 181250
-
Jyotsna Verma authored
llvm-svn: 181235
-
Krzysztof Parzyszek authored
llvm-svn: 181233
-
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
-
Tom Stellard authored
Reviewed-by:
Vincent Lejeune <vljn@ovi.com> Tested-By:
Aaron Watry <awatry@gmail.com> llvm-svn: 181225
-
Tom Stellard authored
Reviewed-by:
Vincent Lejeune <vljn@ovi.com> Tested-By:
Aaron Watry <awatry@gmail.com> llvm-svn: 181223
-
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
[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
-
- May 05, 2013
-
-
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
-
Richard Osborne authored
With the change the disassembler now supports the XCore ISA in its entirety. llvm-svn: 181155
-
Richard Osborne authored
llvm-svn: 181154
-
Richard Osborne authored
No functionality change. llvm-svn: 181153
-
Richard Osborne authored
llvm-svn: 181152
-
Richard Osborne authored
Instead operands are treated as negative immediates where the sign bit is implicit in the instruction encoding. llvm-svn: 181151
-
Stepan Dyatkovskiy authored
Now even the small structures could be passed within byval (small enough to be stored in GPRs). In regression tests next function prototypes are checked: PR15293: %artz = type { i32 } define void @foo(%artz* byval %s) define void @foo2(%artz* byval %s, i32 %p, %artz* byval %s2) foo: "s" stored in R0 foo2: "s" stored in R0, "s2" stored in R2. Next AAPCS rules are checked: 5.5 Parameters Passing, C.4 and C.5, "ParamSize" is parameter size in 32bit words: -- NSAA != 0, NCRN < R4 and NCRN+ParamSize > R4. Parameter should be sent to the stack; NCRN := R4. -- NSAA != 0, and NCRN < R4, NCRN+ParamSize < R4. Parameter stored in GPRs; NCRN += ParamSize. llvm-svn: 181148
-
David Majnemer authored
X86ISelLowering has support to treat: (icmp ne (and (xor %flags, -1), (shl 1, flag)), 0) as if it were actually: (icmp eq (and %flags, (shl 1, flag)), 0) However, r179386 has code at the InstCombine level to handle this. llvm-svn: 181145
-
Dmitri Gribenko authored
Patch by Robert Wilhelm. llvm-svn: 181138
-
Nadav Rotem authored
llvm-svn: 181137
-
Nadav Rotem authored
llvm-svn: 181136
-
- May 04, 2013
-
-
Tim Northover authored
This removes dire warnings about AArch64 being unsupported and enables the tests when appropriate on this platform. llvm-svn: 181135
-
Tim Northover authored
R_AARCH64_PCREL32 is present in even trivial .eh_frame sections and so is required to compile any function without the "nounwind" attribute. This change implements very basic infrastructure in the RuntimeDyldELF file and allows (for example) the test-shift.ll MCJIT test to pass on AArch64. llvm-svn: 181131
-
Tim Northover authored
These changes just allow AArch64 to take part in the MCJIT world when built correctly. llvm-svn: 181130
-
Richard Osborne authored
operand types. llvm-svn: 181128
-
Richard Osborne authored
llvm-svn: 181127
-
Richard Osborne authored
This let us to remove some custom code that matched constant offsets from globals at instruction selection time as a special addressing mode. No intended functionality change. llvm-svn: 181126
-
Richard Osborne authored
The code now makes use of ComputeMaskedBits, SelectionDAG::isBaseWithConstantOffset and TargetLowering::isGAPlusOffset where appropriate reducing the amount of logic needed in XCoreISelLowering. No intended functionality change. llvm-svn: 181125
-
Richard Osborne authored
Thread local storage is not supported by the XMOS linker so we handle thread local variables by lowering the variable to an array of n elements (where n is the number of hardware threads per core, currently 8 for all XMOS devices) indexed by the the current thread ID. Previously this lowering was spread across the XCoreISelLowering and the XCoreAsmPrinter classes. Moving this to a separate pass should be much cleaner. llvm-svn: 181124
-
Tim Northover authored
Supporting TLS in the large memory model is rather difficult at the moment, so make sure no-one gets into difficulties by mistake. llvm-svn: 181121
-
Tim Northover authored
llvm-svn: 181120
-
Tim Northover authored
llvm-svn: 181119
-
Tim Northover authored
llvm-svn: 181118
-
Tim Northover authored
The MOVZ/MOVK instruction sequence may not be the most efficient (a literal-pool load could be better) but adding that would require reinstating the ConstantIslands pass. For now the sequence is correct, and that's enough. Beware, as of commit GNU ld does not appear to support the relocations needed for this. Its primary purpose (for now) will be to support JITed code, since in that case there is no guarantee of where your code will end up in memory relative to external symbols it references. llvm-svn: 181117
-
Richard Osborne authored
This allows us to get get rid of a hack in XCoreTargetObjectFile where the the DataRel* sections were overridden. llvm-svn: 181116
-
Krzysztof Parzyszek authored
llvm-svn: 181090
-
Amara Emerson authored
llvm-svn: 181079
-