forked from OSchip/llvm-project
[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:
parent
55acbf8877
commit
fe7bba4ee4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue