commit | e57d4f53f8423d44cce395d9668dbcd0765d92a7 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Wed Jun 07 07:40:29 2017 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Wed Jun 07 07:40:29 2017 +0000 |
tree | 8e1b886307e76a8db8cb5eea3fa07b09f60f4ddd | |
parent | 1a0f861c74902d60d0df363dded460dfa3741548 [diff] |
[InstCombine] Fix two asserts that were accidentally checking that an APInt pointer is non-zero instead of checking that the APInt self is non-zero. I believe this code used to use APInt references which would have worked. But then they were changed to pointers to allow m_APInt to be used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304875 91177308-0d34-0410-b5e6-96231b3b80d8