diff options
author | Sam Parker <sam.parker@arm.com> | 2019-02-15 09:04:39 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2019-02-15 09:04:39 +0000 |
commit | 3c17cb7bc430f24ea2be9d62b5c0968f4b9aaac4 (patch) | |
tree | 4b52c21789d477171db3405d428070c7f14d91f6 /clang/lib/Analysis/ReachableCode.cpp | |
parent | 73db5c137af2bceeb6f591fd8c7fe70675cbb75c (diff) | |
download | bcm5719-llvm-3c17cb7bc430f24ea2be9d62b5c0968f4b9aaac4.tar.gz bcm5719-llvm-3c17cb7bc430f24ea2be9d62b5c0968f4b9aaac4.zip |
[ARM CGP] Fix ConvertTruncs
ConvertTruncs is used to replace a trunc for an AND mask, however
this function wasn't working as expected. By performing the change
later, we can create a wide type integer mask instead of a narrow -1
value, which could then be simply removed (incorrectly). Because we
now perform this action later, it's necessary to cache the trunc type
before we perform the promotion.
Differential Revision: https://reviews.llvm.org/D57686
llvm-svn: 354108
Diffstat (limited to 'clang/lib/Analysis/ReachableCode.cpp')
0 files changed, 0 insertions, 0 deletions