commit | d11f0144bb8aa11abe17d68bb34bebd918959f74 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Tue Feb 16 09:53:47 2016 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Tue Feb 16 09:53:47 2016 +0000 |
tree | 372d0561b4a101bbd20ece0a7cf19cc60b7db1f6 | |
parent | ab8b27bde85d1b147af511b4aebef394311449cd [diff] |
[Hexagon] Hoist nonnull assert up. Once a pointer is turned into a reference it cannot be nullptr, clang rightfully warns about this assert being a tautology. Put the assert before the reference is created. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260949 91177308-0d34-0410-b5e6-96231b3b80d8