diff options
| author | Chad Rosier <mcrosier@codeaurora.org> | 2016-05-12 01:04:15 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@codeaurora.org> | 2016-05-12 01:04:15 +0000 |
| commit | fe7bba4ee416ffcc1a5439700b230aa94c106957 (patch) | |
| tree | 4a5024a5ad9f0c025c8df1b50ee5aeb276c5a242 /llvm/lib | |
| parent | 55acbf88777077bc56bac43a203581dd67a4adbb (diff) | |
| download | bcm5719-llvm-fe7bba4ee416ffcc1a5439700b230aa94c106957.tar.gz bcm5719-llvm-fe7bba4ee416ffcc1a5439700b230aa94c106957.zip | |
[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
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp b/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp index 066b142ca96..1949cd7c30e 100644 --- a/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp +++ b/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp @@ -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; |

