Skip to content
Commit 9dcb724d authored by Quentin Colombet's avatar Quentin Colombet
Browse files

[CodeGenPrepare][AddressingModeMatcher] Fix a think-o for the sext(zext) -> zext promotion

introduced in r217629.
We were returning the old sext instead of the new zext as the promoted instruction!

Thanks Joerg Sonnenberger for the test case.

llvm-svn: 217800
parent 760814a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment