- Jan 26, 2015
-
-
Renato Golin authored
This patch allows clang to have llvm reserve the x18 platform register on AArch64. FreeBSD will use this in the kernel for per-cpu data but has no need to reserve this register in userland so will need this flag to reserve it. This uses llvm r226664 to allow this register to be reserved. Patch by Andrew Turner. llvm-svn: 227062
-
NAKAMURA Takumi authored
llvm-svn: 227061
-
Alex Rosenberg authored
Lots more to follow. llvm-svn: 227060
-
Simon Atanasyan authored
No functional changes. llvm-svn: 227059
-
Simon Atanasyan authored
This is initial patch to support MIPS64 object files linking. The patch just makes some classes more generalized, and rejects attempts to interlinking O32 and N64 ABI object files. I try to reuse the current MIPS target related classes as much as possible because O32 and N64 MIPS ABI are tightly related and share almost the same set of relocations, GOT, flags etc. llvm-svn: 227058
-
Johannes Doerfert authored
Also an old option was removed from some new test cases llvm-svn: 227057
-
Adrian Prantl authored
physical register that is described in a DBG_VALUE. In the testcase the DBG_VALUE describing "p5" becomes unavailable because the register its address is in is clobbered and we (currently) aren't smart enough to realize that the value is rematerialized immediately after the DBG_VALUE and/or is actually a stack slot. llvm-svn: 227056
-
Bill Schmidt authored
It appears we have different behavior with and without -mcpu=pwr8 even with ppc64le defaulting to POWER8. The failure appears as follows: /home/bb/cmake-llvm-x86_64-linux/llvm-project/llvm/test/CodeGen/PowerPC/ppc64le-aggregates.ll:268:14: error: expected string not found in input ; CHECK-DAG: lfs 1, 0([[REG]]) ^ <stdin>:497:11: note: scanning from here ld 3, .LC1@toc@l(3) ^ <stdin>:497:11: note: with variable "REG" equal to "3" ld 3, .LC1@toc@l(3) ^ <stdin>:514:2: note: possible intended match here lfs 1, 0(4) ^ Reverting this particular test case change. Nemanja, please have a look at the reason for the failure. llvm-svn: 227055 -
Johannes Doerfert authored
The support is currently limited as we only allow them in the input but do not emit them in the transformed SCoP due to the possible semantic changes. Differential Revision: http://reviews.llvm.org/D5225 llvm-svn: 227054
-
Bill Schmidt authored
Test by Nemanja Ivanovic. Since ppc64le implies POWER8 as a minimum, it makes sense that the same features are included. Since the pwr8 processor model will likely be getting new features until the implementation is complete, I created a new list to add these updates to. This will include them in both pwr8 and ppc64le. Furthermore, it seems that it would make sense to compose the feature lists for other processor models (pwr3 and up). Per discussion in the review, I will make this change in a subsequent patch. In order to test the changes, I've added an additional run step to test cases that specify -march=ppc64le -mcpu=pwr8 to omit the -mcpu option. Since the feature lists are the same, the behaviour should be unchanged. llvm-svn: 227053
-
Francisco Lopes da Silva authored
llvm-svn: 227052
-
Simon Atanasyan authored
No functional changes. llvm-svn: 227051
-
Simon Atanasyan authored
llvm-svn: 227050
-
Simon Atanasyan authored
No functional changes. llvm-svn: 227049
-
Simon Atanasyan authored
No functional changes. llvm-svn: 227048
-
Simon Atanasyan authored
the class field declarations. No functional changes. llvm-svn: 227047
-
- Jan 25, 2015
-
-
NAKAMURA Takumi authored
llvm-svn: 227046
-
Simon Atanasyan authored
The `Elf_Rel_Impl::setSymbolAndType` method now has the third argument `IsMips64EL` (like complement methods `getSymbol` and `getType`). While we do not support linking of MIPS64 ELF object file just pass `false` to the `setSymbolAndType`. llvm-svn: 227045
-
Simon Atanasyan authored
MIPS64 ELF file has a very specific relocation record format. Each record might specify up to three relocation operations. So the `r_info` field in fact consists of three relocation type sub-fields and optional code of "special" symbols. http://techpubs.sgi.com/library/manuals/4000/007-4658-001/pdf/007-4658-001.pdf page 40 The patch implements support of the MIPS64 relocation record format in yaml2obj/obj2yaml tools by introducing new optional Relocation fields: Type2, Type3, and SpecSym. These fields are recognized only if the object/YAML file relates to the MIPS64 target. Differential Revision: http://reviews.llvm.org/D7136 llvm-svn: 227044
-
Elena Demikhovsky authored
- Added KSHIFTB/D/Q for skx - Added KORTESTB/D/Q for skx - Fixed store operation for v8i1 type for KNL - Store size of v8i1, v4i1 and v2i1 are changed to 8 bits llvm-svn: 227043
-
NAKAMURA Takumi authored
llvm-svn: 227042
-
NAKAMURA Takumi authored
llvm-svn: 227041
-
NAKAMURA Takumi authored
llvm-svn: 227040
-
Craig Topper authored
llvm-svn: 227039
-
Craig Topper authored
llvm-svn: 227038
-
Francisco Lopes da Silva authored
llvm-svn: 227037
-
Craig Topper authored
llvm-svn: 227036
-
Elena Demikhovsky authored
llvm-svn: 227035
-
David Blaikie authored
Fix the buildbots (fallout from r227028) by returning the exprloc of non-binary operator overload calls (and ->) to the start of the expression, not the location of the operator I'll give this some further thought/discussion later, but this is enough to unbreak the buildbots at least. llvm-svn: 227034
-
David Blaikie authored
llvm-svn: 227033
-
Craig Topper authored
[X86] Replace i32i8imm on SSE/AVX instructions with i32u8imm which will make the assembler bounds check them. It will also make them print as unsigned. llvm-svn: 227032
-
Craig Topper authored
llvm-svn: 227031
-
Craig Topper authored
llvm-svn: 227030
-
Nico Weber authored
lit.cfg has never supported running .C files, so these tests were never executed by check-clang. Rename them to .cpp so that they run as part of the test suite, and minorly tweak two of them that look like they were broken when checked in to actually pass. llvm-svn: 227029
-
David Blaikie authored
DebugInfo: Attribute calls to overloaded operators with the operator, not the start of the whole expression llvm-svn: 227028
-
David Blaikie authored
This causes things like assignment to refer to the '=' rather than the LHS when attributing the store instruction, for example. There were essentially 3 options for this: * The beginning of an expression (this was the behavior prior to this commit). This meant that stepping through subexpressions would bounce around from subexpressions back to the start of the outer expression, etc. (eg: x + y + z would go x, y, x, z, x (the repeated 'x's would be where the actual addition occurred)). * The end of an expression. This seems to be what GCC does /mostly/, and certainly this for function calls. This has the advantage that progress is always 'forwards' (never jumping backwards - except for independent subexpressions if they're evaluated in interesting orders, etc). "x + y + z" would go "x y z" with the additions occurring at y and z after the respective loads. The problem with this is that the user would still have to think fairly hard about precedence to realize which subexpression is being evaluated or which operator overload is being called in, say, an asan backtrace. * The preferred location or 'exprloc'. In this case you get sort of what you'd expect, though it's a bit confusing in its own way due to going 'backwards'. In this case the locations would be: "x y + z +" in lovely postfix arithmetic order. But this does mean that if the op+ were an operator overload, say, and in a backtrace, the backtrace will point to the exact '+' that's being called, not to the end of one of its operands. (actually the operator overload case doesn't work yet for other reasons, but that's being fixed - but this at least gets scalar/complex assignments and other plain operators right) llvm-svn: 227027
-
Nico Weber authored
llvm-svn: 227026
-
Chandler Carruth authored
that library consumers access the instcombine pass directly, they also (transitively) access the worklist. Also, it would need to be used directly in order to have a useful utility if we ever want that. This should fix some warnings since I moved this code. Sorry for the trouble. llvm-svn: 227025
-
Nathan Sidwell authored
llvm-svn: 227024
-
David Blaikie authored
llvm-svn: 227023
-