| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
| |
mubuf instructions now define the soffset field using the SCSrc_32
register class which indicates that only SGPRs and inline constants
are allowed.
llvm-svn: 224622
|
| |
|
|
| |
llvm-svn: 224621
|
| |
|
|
|
|
| |
-private-headers.
llvm-svn: 224616
|
| |
|
|
| |
llvm-svn: 224612
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a path to DAGCombiner::MergeConsecutiveStores()
to combine multiple scalar stores when the store operands
are extracted vector elements. This is a partial fix for
PR21711 ( http://llvm.org/bugs/show_bug.cgi?id=21711 ).
For the new test case, codegen improves from:
vmovss %xmm0, (%rdi)
vextractps $1, %xmm0, 4(%rdi)
vextractps $2, %xmm0, 8(%rdi)
vextractps $3, %xmm0, 12(%rdi)
vextractf128 $1, %ymm0, %xmm0
vmovss %xmm0, 16(%rdi)
vextractps $1, %xmm0, 20(%rdi)
vextractps $2, %xmm0, 24(%rdi)
vextractps $3, %xmm0, 28(%rdi)
vzeroupper
retq
To:
vmovups %ymm0, (%rdi)
vzeroupper
retq
Patch reviewed by Nadav Rotem.
Differential Revision: http://reviews.llvm.org/D6698
llvm-svn: 224611
|
| |
|
|
| |
llvm-svn: 224610
|
| |
|
|
| |
llvm-svn: 224609
|
| |
|
|
| |
llvm-svn: 224608
|
| |
|
|
|
|
| |
-private-headers.
llvm-svn: 224607
|
| |
|
|
| |
llvm-svn: 224604
|
| |
|
|
| |
llvm-svn: 224599
|
| |
|
|
|
|
| |
register class.
llvm-svn: 224598
|
| |
|
|
|
|
|
|
|
|
| |
dsymutil needs access to DWARF specific inforamtion, the small DIContext
wrapper isn't sufficient. Other DWARF consumers might want to use it too
(I'm looking at you lldb).
Differential Revision: http://reviews.llvm.org/D6694
llvm-svn: 224594
|
| |
|
|
|
|
| |
Found by the Clang static analyzer.
llvm-svn: 224590
|
| |
|
|
|
|
| |
Found by the Clang static analyzer.
llvm-svn: 224589
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sub cstexpr
The visitSwitchInst generates SUB constant expressions to recompute the
switch condition. When truncating the condition to a smaller type, SUB
expressions should use the previous type (before trunc) for both
operands. Also, fix code to also return the modified switch when only
the truncation is performed.
This fixes an assertion crash.
Differential Revision: http://reviews.llvm.org/D6644
rdar://problem/19191835
llvm-svn: 224588
|
| |
|
|
|
|
| |
Found by the Clang static analyzer.
llvm-svn: 224587
|
| |
|
|
|
|
| |
Found by the Clang static analyzer.
llvm-svn: 224586
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Backends recognize (-0.0 - X) as the canonical form for fneg
and produce better code. Eg, ppc64 with 0.0:
lis r2, ha16(LCPI0_0)
lfs f0, lo16(LCPI0_0)(r2)
fsubs f1, f0, f1
blr
vs. -0.0:
fneg f1, f1
blr
Differential Revision: http://reviews.llvm.org/D6723
llvm-svn: 224583
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
cstexpr"
Reverts commit r224574 to appease buildbots:
The visitSwitchInst generates SUB constant expressions to recompute the
switch condition. When truncating the condition to a smaller type, SUB
expressions should use the previous type (before trunc) for both
operands. This fixes an assertion crash.
llvm-svn: 224576
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The visitSwitchInst generates SUB constant expressions to recompute the
switch condition. When truncating the condition to a smaller type, SUB
expressions should use the previous type (before trunc) for both
operands. This fixes an assertion crash.
Differential Revision: http://reviews.llvm.org/D6644
rdar://problem/19191835
llvm-svn: 224574
|
| |
|
|
|
|
| |
Found with the Clang static analyzer.
llvm-svn: 224570
|
| |
|
|
|
|
|
|
| |
Instead of reusing the name `MapValue()` when mapping `Metadata`, use
`MapMetadata()`. The old name doesn't make much sense after the
`Metadata`/`Value` split.
llvm-svn: 224566
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Summary: This fixes the exports iterator if the export list is empty.
Reviewers: Bigcheese, kledzik
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6732
llvm-svn: 224563
|
| |
|
|
|
|
|
|
| |
This also fixes problems with undef copies of subregisters. I can't
attach a testcase for that as none of the targets in trunk has
subregister liveness tracking enabled.
llvm-svn: 224560
|
| |
|
|
| |
llvm-svn: 224556
|
| |
|
|
| |
llvm-svn: 224555
|
| |
|
|
| |
llvm-svn: 224553
|
| |
|
|
| |
llvm-svn: 224552
|
| |
|
|
| |
llvm-svn: 224550
|
| |
|
|
|
|
| |
-private-headers.
llvm-svn: 224548
|
| |
|
|
|
|
|
|
|
|
| |
.lower() the Name and compare only the lowecase. Removing 81 compares/lines of
code. This changes the accepted string to be mixed lower/upper case but it
should be ok.
Discussed with Jim Grosbach.
llvm-svn: 224547
|
| |
|
|
| |
llvm-svn: 224542
|
| |
|
|
|
|
|
|
|
| |
- This also fixes a bug introduced in r223880 where values were not
correctly marked as Dead anymore.
- Cleanup computeDeadValues(): split up SubRange code variant, simplify
arguments.
llvm-svn: 224538
|
| |
|
|
|
|
| |
-private-headers.
llvm-svn: 224534
|
| |
|
|
|
|
|
| |
The header claims that this function exists, but the linker wasn't too happy
about it not being in the library.
llvm-svn: 224527
|
| |
|
|
|
|
|
|
|
| |
Fix bugs related to atomic microMIPS SC/LL instructions: While expanding atomic
operations the mips32r2 encoding was emitted instead of microMIPS.
Differential Revision: http://reviews.llvm.org/D6659
llvm-svn: 224524
|
| |
|
|
|
|
|
|
|
| |
Fix an off-by-one access introduced in 224502 for push.w and pop.w with single
register operands. Add test cases for both scenarios.
Thanks to Asiri Rathnayake for pointing out the failure!
llvm-svn: 224521
|
| |
|
|
|
|
|
| |
Added RegOp2MemOpTable4 to transform 4th operand from register to memory in merge-masked versions of instructions.
Added lowering tests.
llvm-svn: 224516
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D6666
llvm-svn: 224514
|
| |
|
|
|
|
| |
function".
llvm-svn: 224506
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ARM Architecture Reference Manual states the following:
LDM{,IA,DB}:
The SP cannot be in the list.
The PC can be in the list.
If the PC is in the list:
• the LR must not be in the list
• the instruction must be either outside any IT block, or the last
instruction in an IT block.
POP:
The PC can be in the list.
If the PC is in the list:
• the LR must not be in the list
• the instruction must be either outside any IT block, or the last
instruction in an IT block.
PUSH:
The SP and PC can be in the list in ARM instructions, but not in Thumb
instructions.
STM:{,IA,DB}:
The SP and PC can be in the list in ARM instructions, but not in Thumb
instructions.
llvm-svn: 224502
|
| |
|
|
|
|
| |
a lambda now that we have them.
llvm-svn: 224500
|
| |
|
|
| |
llvm-svn: 224499
|
| |
|
|
|
|
| |
Only put the anonymous namespace around classes. NFC.
llvm-svn: 224498
|
| |
|
|
| |
llvm-svn: 224497
|
| |
|
|
|
|
| |
Near as I can tell prefixes are ignored on these instructions except for a comment in the Intel docs about 0xf3. Binutils disassembler seems to ignore prefixes on these instructions. Our disassembler still doesn't distinguish PS and "no prefix" well enough for this to make a functional change, but it helps with experiments I'm doing on a potential new disassembler table builder.
llvm-svn: 224496
|
| |
|
|
|
|
| |
already indicate use of REX.W.
llvm-svn: 224495
|
| |
|
|
|
|
| |
Pointed out by Jim Grosbach.
llvm-svn: 224494
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
of the abi we should be using. For targets that don't use the
option there's no change, otherwise this allows external users
to set the ABI via string and avoid some of the -backend-option
pain in clang.
Use this option to move the ABI for the ARM port from the
Subtarget to the TargetMachine and update the testcases
accordingly since it's no longer valid to set via -mattr.
llvm-svn: 224492
|