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

Jun Bum Lim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 09:52:53 PDT 2017


junbuml added inline comments.


================
Comment at: lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp:885
+      // the store and load instruction, so we can just propagate the kill flag.
+      BitExtMI->addRegisterKilled(StRt, TRI);
+    }
----------------
Isn't it okay to do break after this  ? 




https://reviews.llvm.org/D34402





More information about the llvm-commits mailing list