diff options
author | Amara Emerson <aemerson@apple.com> | 2019-06-05 23:46:16 +0000 |
---|---|---|
committer | Amara Emerson <aemerson@apple.com> | 2019-06-05 23:46:16 +0000 |
commit | c37ff0d138aff7b3307d33c82766dc7b07d4ea6b (patch) | |
tree | 6106b4518f39d823774e5cc61fc6db650680c4da /llvm/lib/Object/RelocationResolver.cpp | |
parent | 34c8b835b16fb3879f1b9770e91df21883356bb6 (diff) | |
download | bcm5719-llvm-c37ff0d138aff7b3307d33c82766dc7b07d4ea6b.tar.gz bcm5719-llvm-c37ff0d138aff7b3307d33c82766dc7b07d4ea6b.zip |
Revert "Revert "[AArch64][GlobalISel] Optimize G_FCMP + G_SELECT pairs when G_SELECT is fp""
When looking through copies, make sure to not try to find the vreg def of a physreg.
Normally getVRegDef will return nullptr in this case, but if there happens to be
multiple defs then it will assert.
This fixes PR42129.
llvm-svn: 362666
Diffstat (limited to 'llvm/lib/Object/RelocationResolver.cpp')
0 files changed, 0 insertions, 0 deletions