diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-05 21:13:02 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-05 21:13:02 +0200 |
commit | 3641d375f6747237b1b55a25a55e9028d8a67a02 (patch) | |
tree | 35b5f8ee722979562aaab88cd891703e9682dced /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 0f8e4a5ed0e556af82592f7cae4a6082ab238da3 (diff) | |
download | llvm-3641d375f6747237b1b55a25a55e9028d8a67a02.zip llvm-3641d375f6747237b1b55a25a55e9028d8a67a02.tar.gz llvm-3641d375f6747237b1b55a25a55e9028d8a67a02.tar.bz2 |
[InstCombine] Handle GEP inbounds in select op replacement (PR47730)
When retrying the "simplify with operand replaced" select
optimization without poison flags, also handle inbounds on GEPs.
Of course, this particular example would also be safe to transform
while keeping inbounds, but the underlying machinery does not
know this (yet).
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions