]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
[CodeGenPrepare] Use APInt to check the value of the immediate in a and
authorQuentin Colombet <qcolombet@apple.com>
Tue, 22 Apr 2014 01:20:34 +0000 (01:20 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Tue, 22 Apr 2014 01:20:34 +0000 (01:20 +0000)
commit8959c39450b6fd86ba6556b0ccdb8c260f8a93a4
tree4c94f9fa80160f1497b6a11b7af7e184adcdeed9
parentbb67355af8ca3a546d286cb682ee3054cda3cf87
[CodeGenPrepare] Use APInt to check the value of the immediate in a and
while checking candidate for bit field extract.
Otherwise the value may not fit in uint64_t and this will trigger an
assertion.

This fixes PR19503.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206834 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPrepare.cpp
test/CodeGen/ARM64/bitfield-extract.ll