[PATCH] D28875: AArch64LoadStoreOptimizer: Update kill flags when merging stores

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 15:37:10 PST 2017


MatzeB created this revision.
Herald added subscribers: mcrosier, rengolin, aemerson.

Kill flags need to be updated correctly when moving stores up/down to
form store pair instructions.
Those invalid flags have been ignored before but as of r290014 they are
recognized when using -mllvm -verify-machineinstrs.

Also simplifies test/CodeGen/AArch64/ldst-opt-dbg-limit.mir, renames it
to ldst-opt.mir test and adds a new tests for this change.


Repository:
  rL LLVM

https://reviews.llvm.org/D28875

Files:
  lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
  test/CodeGen/AArch64/ldst-opt-dbg-limit.mir
  test/CodeGen/AArch64/ldst-opt.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28875.84896.patch
Type: text/x-patch
Size: 8639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170118/d80e12f9/attachment.bin>


More information about the llvm-commits mailing list