summaryrefslogtreecommitdiff
path: root/unittests/Bitcode/BitReaderTest.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-01-13 16:51:00 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-01-13 16:51:00 +0000
commit36713c2c0a9e4aeebe4cae4ef5efbc13d4103850 (patch)
treeebd86331fcbc1cbee3176eb060d38d114af44f77 /unittests/Bitcode/BitReaderTest.cpp
parent286cc1354606638fef69eee80e98dadb90406e51 (diff)
downloadllvm-36713c2c0a9e4aeebe4cae4ef5efbc13d4103850.tar.gz
llvm-36713c2c0a9e4aeebe4cae4ef5efbc13d4103850.tar.bz2
llvm-36713c2c0a9e4aeebe4cae4ef5efbc13d4103850.tar.xz
[AArch64] Fix assertion failure caused by an invalid comparison between APInt values.
APInt only knows how to compare values with the same BitWidth and asserts in all other cases. With this fix, function PerformORCombine does not use the APInt equality operator if the APInt values returned by 'isConstantSplat' differ in BitWidth. In that case they are different and no comparison is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199119 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Bitcode/BitReaderTest.cpp')
0 files changed, 0 insertions, 0 deletions