diff options
author | Amara Emerson <amara@apple.com> | 2023-02-18 09:51:17 -0800 |
---|---|---|
committer | Amara Emerson <amara@apple.com> | 2023-02-18 10:05:08 -0800 |
commit | ddf167c442018e807819aa0b2e56546977870333 (patch) | |
tree | 9bf15d9ca5f659b54ddb22042dad392942d58b86 /llvm/tools/llvm-tapi-diff/DiffEngine.cpp | |
parent | a9a1950115d7db95c7439128b14af2cefe8f796d (diff) | |
download | llvm-ddf167c442018e807819aa0b2e56546977870333.zip llvm-ddf167c442018e807819aa0b2e56546977870333.tar.gz llvm-ddf167c442018e807819aa0b2e56546977870333.tar.bz2 |
[GlobalISel] Fix G_ZEXTLOAD being converted to G_SEXTLOAD incorrectly.
The extending loads combine tries to prefer sign-extends folding into loads vs
zexts, and in cases where a G_ZEXTLOAD is first used by a G_ZEXT, and then used
by a G_SEXT, it would select the G_SEXT even though the load is already
zero-extending.
Fixes issue #59630
Diffstat (limited to 'llvm/tools/llvm-tapi-diff/DiffEngine.cpp')
0 files changed, 0 insertions, 0 deletions