- May 01, 2014
-
-
Richard Smith authored
llvm-svn: 207681
-
Richard Smith authored
llvm-svn: 207680
-
Carlo Kok authored
[IPO/MergeFunctions] changes so it doesn't try to bitcast a struct return type but instead recreates it with insert/extract value. llvm-svn: 207679
-
Tobias Grosser authored
This is a test case that is currently failing, but that should start working with an upcoming version of our delinearization pass. llvm-svn: 207678
-
Richard Smith authored
non-member declaration. Patch by Dinesh Dwivedi! llvm-svn: 207677
-
David Majnemer authored
Summary: Try to spot obvious mismatches with inalloca use. Reviewers: rnk Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D3572 llvm-svn: 207676
-
Reid Kleckner authored
We were emitting dynamic initializers for __thread variables if there was no explicit initializer, as in this test case: struct S { S(); }; __thread S s; llvm-svn: 207675 -
Rafael Espindola authored
It now defers all offset computation to getSymbolOffset. llvm-svn: 207674
-
Matheus Almeida authored
Summary: negu $reg is equivalent to negu $reg, $reg. Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D3510 llvm-svn: 207673
-
Reid Kleckner authored
Patch by Dinesh Dwivedi! Differential Revision: http://reviews.llvm.org/D3376 llvm-svn: 207672
-
Matheus Almeida authored
Summary: The pattern sltu $r1, $r2, $imm is found in handwritten assembly which is just a shorthand version of sltui $r1, $r2, $imm. Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D3508 llvm-svn: 207671
-
Hans Wennborg authored
We already do this for shstrtab, so might as well do it for strtab. This extracts the string table building code into a separate class. The idea is to use it for other object formats too. I mostly wanted to do this for the general principle, but it does save a little bit on object file size. I tried this on a clang bootstrap and saved 0.54% on the sum of object file sizes (1.14 MB out of 212 MB for a release build). Differential Revision: http://reviews.llvm.org/D3533 llvm-svn: 207670
-
Tim Northover authored
llvm-svn: 207669
-
Tim Northover authored
llvm-svn: 207668
-
Tim Northover authored
llvm-svn: 207667
-
Tim Northover authored
It's been decided that in the future, the floating-point immediate in instructions like "fcmeq v0.2s, v1.2s, #0.0" will be canonically "0.0", which has been implemented on AArch64 already but not ARM64. This fixes that issue. llvm-svn: 207666
-
David Majnemer authored
Pretty straightforward, we weren't propagating whether or not an AllocaInst had 'inalloca' marked on it when it came time to clone it. The inliner exposed this bug. A reduced testcase is forthcoming. llvm-svn: 207665
-
Matheus Almeida authored
Summary: The pattern dsll/dsrl $rd, $rt, $rs is found in handwritten assembly which is just a shorthand version of dsllv/dsrlv $rd, $rt, $rs. Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D3486 llvm-svn: 207664
-
- Apr 30, 2014
-
-
Douglas Gregor authored
When we were moving from a larger vector to a smaller one but didn't need to re-allocate, we would move-assign over uninitialized memory in the target, then move-construct that same data again. llvm-svn: 207663
-
Rafael Espindola authored
It is not relevant where the symbol and section names are stored, just their values. llvm-svn: 207662
-
Tom Stellard authored
We can't use SALU instructions for this since they ignore the EXEC mask and are always executed. This fixes several OpenCV tests. llvm-svn: 207661
-
Tom Stellard authored
llvm-svn: 207660
-
Chad Rosier authored
llvm-svn: 207659
-
Rafael Espindola authored
llvm-svn: 207658
-
Matheus Almeida authored
Summary: The pattern sll/srl $rd, $rt, $rs is found in handwritten assembly which is just a shorthand version of sllv/srlv $rd, $rt, $rs. Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D3483 llvm-svn: 207657
-
Sasa Stankovic authored
target cannot be determined accurately. This is the case for NaCl where the sandboxing instructions are added in MC layer, after the MipsLongBranch pass. It is also the case when the code has inline assembly. Instead of calculating offset in the MipsLongBranch pass, use %hi(sym1 - sym2) and %lo(sym1 - sym2) expressions that are resolved during the fixup. This patch also deletes microMIPS test file test/CodeGen/Mips/micromips-long-branch.ll and implements microMIPS CHECKs in a much simpler way in a file test/CodeGen/Mips/longbranch.ll, together with MIPS32 and MIPS64. llvm-svn: 207656
-
Matheus Almeida authored
Summary: Also renamed non-portable register names (e.g. $t2) so that we don't end up with a different encoding for what appears to be an equivalent instruction. Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D3505 llvm-svn: 207655
-
Tom Stellard authored
llvm-svn: 207654
-
-
Alex McCarthy authored
Reviewers: alexfh Subscribers: jordan_rose, klimek, djasper, cfe-commits Differential Revision: http://reviews.llvm.org/D3556 llvm-svn: 207652
-
Evgeniy Stepanov authored
Only emit calls to compiler-rt asm routines on platforms where they are present (currently limited to linux i386/x86_64). Patch by Yuri Gorshenin. llvm-svn: 207651
-
Tim Northover authored
llvm-svn: 207650
-
Tim Northover authored
The canonical syntax for shifts by a variable amount does not end with 'v', but that syntax should be supported as an alias (presumably for legacy reasons). llvm-svn: 207649
-
Tim Northover authored
Testing will be enabled shortly with basic-a64-instructions.s llvm-svn: 207648
-
Tim Northover authored
Testing will be enabled shortly with basic-a64-instructions.s llvm-svn: 207647
-
Tim Northover authored
llvm-svn: 207646
-
Tim Northover authored
AArch64 does not have a CPSR register in the same way that AArch32 does. Most of its compiler-relevant roles have been taken over by the more specific NZCV register (representing just the flags set by normal instructions). Its system control functions still remain, but are now under the pseudo-register referred to as "PSTATE". They're accessed via various MRS & MSR instructions described in the reference manual. llvm-svn: 207645
-
Tim Northover authored
On instructions using the NZCV register, a couple of conditions have dual representations: HS/CS and LO/CC (meaning unsigned-higher-or-same/carry-set and unsigned-lower/carry-clear). The first of these is more descriptive in most circumstances, so we should print it. llvm-svn: 207644
-
Rafael Espindola authored
Thanks to Saleem Abdulrasool for noticing it. llvm-svn: 207643
-
Logan Chien authored
llvm-svn: 207642
-