diff options
| author | Tim Northover <tnorthover@apple.com> | 2014-04-25 10:48:47 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2014-04-25 10:48:47 +0000 |
| commit | eb7354fd3b4f890d5fdda45211af04cc969cf81a (patch) | |
| tree | 8af5e9e5bd59029ccd419b6cb176f6c8502e56ac /llvm/lib/Target/ARM64 | |
| parent | 623c989eeacb4db2513fa9fbb251917587393e72 (diff) | |
| download | bcm5719-llvm-eb7354fd3b4f890d5fdda45211af04cc969cf81a.tar.gz bcm5719-llvm-eb7354fd3b4f890d5fdda45211af04cc969cf81a.zip | |
ARM64: fix assertion in ISelDAGToDAG
Also an unused variable, so double bonus!
This should deal with PR19548.
llvm-svn: 207221
Diffstat (limited to 'llvm/lib/Target/ARM64')
| -rw-r--r-- | llvm/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp b/llvm/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp index 986c2ad049f..ad1c64526c3 100644 --- a/llvm/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp +++ b/llvm/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp @@ -1403,8 +1403,6 @@ static bool isBitfieldDstMask(uint64_t DstMask, APInt BitsToBeInserted, assert((VT == MVT::i32 || VT == MVT::i64) && "i32 or i64 mask type expected!"); unsigned BitWidth = VT.getSizeInBits() - NumberOfIgnoredHighBits; - APInt SignificantBits = - ~APInt::getHighBitsSet(BitWidth, NumberOfIgnoredHighBits); APInt SignificantDstMask = APInt(BitWidth, DstMask); APInt SignificantBitsToBeInserted = BitsToBeInserted.zextOrTrunc(BitWidth); |

