[PATCH] D20175: [AArch64] Improve getUsefulBitsForUse for narrow stores.

Geoff Berry via llvm-commits llvm-commits at lists.llvm.org
Wed May 11 11:13:40 PDT 2016


gberry added inline comments.

================
Comment at: lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:1852
@@ -1851,1 +1851,3 @@
     return getUsefulBitsFromBFM(SDValue(UserNode, 0), Orig, UsefulBits, Depth);
+
+  case AArch64::STRBui:
----------------
Aren't there more of these opcodes?  Also don't you need to make sure that the Orig node is the stored value operand, and not an address operand?


http://reviews.llvm.org/D20175





More information about the llvm-commits mailing list