commit | 341574b2adb969590590ace4c3186a01693f2658 | [log] [tgz] |
---|---|---|
author | James Molloy <james.molloy@arm.com> | Fri Aug 19 08:38:50 2016 +0000 |
committer | James Molloy <james.molloy@arm.com> | Fri Aug 19 08:38:50 2016 +0000 |
tree | 623df54fb66e0edb562110549a02af560bdb5e9e | |
parent | bc8fdf73ab39c3b64b1a96f04c0d112e8f01b819 [diff] |
[CodeGen] Fix a trivial type conversion bug dating back to pre-2008 The heuristic above this code is incredibly suspect, but disregarding that it mutates the cast opcode so we need to check the *mutated* opcode later to see if we need to emit an AssertSext or AssertZext node. Fixes PR29041. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279223 91177308-0d34-0410-b5e6-96231b3b80d8