[PATCH] D34402: [AArch64] Preserve register flags when promoting a load from store.

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 07:26:42 PDT 2017


t.p.northover added a comment.

I'm not sure that's valid. It seem like we'd still be broken in this situation:

  STR %val, %base, ...
  [...]
  SOMETHING %val<killed>, ...
  [...]
  %whatever = LDR %base

`findMatchingStore` looks like it'd allow this (%val isn't actually changed) but the liveness is still broken after replacing the LDR with a MOV.


https://reviews.llvm.org/D34402





More information about the llvm-commits mailing list