[PATCH] D16434: Fix ARM load/store opt live reg computing

Z. Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 21 16:16:30 PST 2016


zzheng added a subscriber: zzheng.
zzheng added a comment.

Looks like a typo.


================
Comment at: lib/Target/ARM/ARMLoadStoreOptimizer.cpp:564
@@ +563,3 @@
+    if (LiveRegPos->getOpcode() == ARM::tBX_RET ||
+        LiveRegPos->getOpcode() == ARM::tBX_RET)
+      LiveRegs.addReg(ARM::LR);
----------------
Same test on both sides of '||' ?


Repository:
  rL LLVM

http://reviews.llvm.org/D16434





More information about the llvm-commits mailing list