diff options
author | James Molloy <james.molloy@arm.com> | 2016-08-19 08:38:50 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2016-08-19 08:38:50 +0000 |
commit | 7ee640f9b67e3269f19bbe166bbba6a93c0ee148 (patch) | |
tree | 2c685d2803a7a7030ac3be420c5e3d06488a7530 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | b81960a6c858b4d40d64798cac3e56ca8e6383fa (diff) | |
download | llvm-7ee640f9b67e3269f19bbe166bbba6a93c0ee148.zip llvm-7ee640f9b67e3269f19bbe166bbba6a93c0ee148.tar.gz llvm-7ee640f9b67e3269f19bbe166bbba6a93c0ee148.tar.bz2 |
[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.
llvm-svn: 279223
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions