[AArch64] Remove floating-point narrow stores from getUsefulBitsForUse.

While not impossible, it's unlikely we'd be performing bitwise operations on FP
values.

llvm-svn: 269260
This commit is contained in:
Chad Rosier 2016-05-12 01:04:15 +00:00
parent 55acbf8877
commit fe7bba4ee4
1 changed files with 0 additions and 2 deletions

View File

@ -1850,14 +1850,12 @@ static void getUsefulBitsForUse(SDNode *UserNode, APInt &UsefulBits,
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;