1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test/CodeGen
Nirav Dave 3633380341 Elide stores which are overwritten without being observed.
Summary:
In SelectionDAG, when a store is immediately chained to another store
to the same address, elide the first store as it has no observable
effects. This is causes small improvements dealing with intrinsics
lowered to stores.

Test notes:

* Many testcases overwrite store addresses multiple times and needed
  minor changes, mainly making stores volatile to prevent the
  optimization from optimizing the test away.

* Many X86 test cases optimized out instructions associated with
  associated with va_start.

* Note that test_splat in CodeGen/AArch64/misched-stp.ll no longer has
  dependencies to check and can probably be removed and potentially
  replaced with another test.

Reviewers: rnk, john.brawn

Subscribers: aemerson, rengolin, qcolombet, jyknight, nemanjai, nhaehnle, javed.absar, llvm-commits

Differential Revision: https://reviews.llvm.org/D33206

llvm-svn: 303198
2017-05-16 19:43:56 +00:00
..
AArch64 Elide stores which are overwritten without being observed. 2017-05-16 19:43:56 +00:00
AMDGPU Elide stores which are overwritten without being observed. 2017-05-16 19:43:56 +00:00
ARM Elide stores which are overwritten without being observed. 2017-05-16 19:43:56 +00:00
AVR [AVR] When lowering Select8/Select16, put newly generated MBBs in the same spot 2017-05-13 00:22:34 +00:00
BPF [bpf] fix a bug which causes incorrect big endian reloc fixup 2017-05-05 18:05:00 +00:00
Generic Add a late IR expansion pass for the experimental reduction intrinsics. 2017-05-10 09:42:49 +00:00
Hexagon Add extra operand to CALLSEQ_START to keep frame part set up previously 2017-05-09 13:35:13 +00:00
Inputs
Lanai [lanai] Add computeKnownBitsForTargetNode for Lanai. 2017-05-09 18:35:26 +00:00
Mips Elide stores which are overwritten without being observed. 2017-05-16 19:43:56 +00:00
MIR [IfConversion] Keep the CFG updated incrementally in IfConvertTriangle 2017-05-12 06:28:58 +00:00
MSP430 Elide stores which are overwritten without being observed. 2017-05-16 19:43:56 +00:00
NVPTX [NVPTX] Don't flag StoreParam/LoadParam memory chain operands as ReadMem/WriteMem (PR32146) 2017-05-15 17:17:44 +00:00
PowerPC Elide stores which are overwritten without being observed. 2017-05-16 19:43:56 +00:00
SPARC Elide stores which are overwritten without being observed. 2017-05-16 19:43:56 +00:00
SystemZ Elide stores which are overwritten without being observed. 2017-05-16 19:43:56 +00:00
Thumb Elide stores which are overwritten without being observed. 2017-05-16 19:43:56 +00:00
Thumb2 Elide stores which are overwritten without being observed. 2017-05-16 19:43:56 +00:00
WebAssembly [WebAssembly] Fix WebAssemblyOptimizeReturned after r300367 2017-04-17 21:40:28 +00:00
WinEH
X86 Elide stores which are overwritten without being observed. 2017-05-16 19:43:56 +00:00
XCore