[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:48:43 PDT 2017


t.p.northover added a comment.

I'm not sure findMatchingStore can do it easily. During its reverse scan it doesn't know what the value register is going to be and keeping track of the most recent kill of all registers seems a little excessive.

I think the code clearing kill flags later on (~line 877) probably has to have a reference to the MachineOperand and set its kill flag if necessary.


https://reviews.llvm.org/D34402





More information about the llvm-commits mailing list