[llvm] r269260 - [AArch64] Remove floating-point narrow stores from getUsefulBitsForUse.
Chad Rosier via llvm-commits
llvm-commits at lists.llvm.org
Wed May 11 18:04:16 PDT 2016
Author: mcrosier
Date: Wed May 11 20:04:15 2016
New Revision: 269260
URL: http://llvm.org/viewvc/llvm-project?rev=269260&view=rev
Log:
[AArch64] Remove floating-point narrow stores from getUsefulBitsForUse.
While not impossible, it's unlikely we'd be performing bitwise operations on FP
values.
Modified:
llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp?rev=269260&r1=269259&r2=269260&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp Wed May 11 20:04:15 2016
@@ -1850,14 +1850,12 @@ static void getUsefulBitsForUse(SDNode *
case AArch64::BFMXri:
return getUsefulBitsFromBFM(SDValue(UserNode, 0), Orig, UsefulBits, Depth);
- case AArch64::STRBui:
case AArch64::STRBBui:
if (UserNode->getOperand(0) != Orig)
return;
UsefulBits &= APInt(UsefulBits.getBitWidth(), 0xff);
return;
- case AArch64::STRHui:
case AArch64::STRHHui:
if (UserNode->getOperand(0) != Orig)
return;
More information about the llvm-commits
mailing list