diff options
author | Volkan Keles <vkeles@apple.com> | 2018-10-10 18:01:48 +0000 |
---|---|---|
committer | Volkan Keles <vkeles@apple.com> | 2018-10-10 18:01:48 +0000 |
commit | da5578c5d0fcbecf4ceb2c22be1e235df9a026a4 (patch) | |
tree | 6ce047709bf518c68065d9a10f262ed4e0a87de7 /lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp | |
parent | 057784a263d93cf2efe84f91c336ebfd30a28268 (diff) | |
download | bcm5719-llvm-da5578c5d0fcbecf4ceb2c22be1e235df9a026a4.tar.gz bcm5719-llvm-da5578c5d0fcbecf4ceb2c22be1e235df9a026a4.zip |
[GlobalISel] Fix the artifact combiner to fold G_IMPLICIT_DEF properly
Summary:
GlobalISel generates incorrect code because the legalizer artifact
combiner assumes `G_[SZ]EXT (G_IMPLICIT_DEF)` is equivalent to
`G_IMPLICIT_DEF `.
Replace `G_[SZ]EXT (G_IMPLICIT_DEF)` with 0 because the top bits
will be 0 for G_ZEXT and 0/1 for the G_SEXT.
Reviewers: aditya_nandakumar, dsanders, aemerson, javed.absar
Reviewed By: aditya_nandakumar
Subscribers: rovka, kristof.beyls, llvm-commits
Differential Revision: https://reviews.llvm.org/D52996
llvm-svn: 344163
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp')
0 files changed, 0 insertions, 0 deletions