diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-06-21 20:22:06 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-06-21 22:03:15 +0200 |
commit | e2c2124a4b5bad9cf2a1e23a6aef1b2ad753f504 (patch) | |
tree | 9a1368f7de3f82cae20dd471ee4f093b04fdee91 /llvm/lib/IR/Module.cpp | |
parent | 403792f91e822e580dd5dc65ad80d0977d4fd9e3 (diff) | |
download | llvm-e2c2124a4b5bad9cf2a1e23a6aef1b2ad753f504.zip llvm-e2c2124a4b5bad9cf2a1e23a6aef1b2ad753f504.tar.gz llvm-e2c2124a4b5bad9cf2a1e23a6aef1b2ad753f504.tar.bz2 |
Reapply [InstCombine] Extract bitcast -> gep transform
Relative to the original patch, an InstCombine test has been
added to show a previously missed pattern, and the Coroutine
test that resulted in the revert has been regenerated.
-----
Move this into a separate function, to make sure that early
returns do not accidentally skip other transforms. This previously
happened for the isSized() check, which skipped folds like
distributing a bitcast over a select.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions