commit | dc08405a1509b393c17bf278affaf1b91992672d | [log] [tgz] |
---|---|---|
author | Guozhi Wei <carrot@google.com> | Thu Feb 18 13:12:19 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 19 03:42:41 2021 -0800 |
tree | 0ed9837532c9ef315e30249e2b5e4bfefcad9c06 | |
parent | 11bb699c9eb0e1f92529e80a592a7162b70791d4 [diff] |
[DAGCombiner] Transform (zext (select c, load1, load2)) -> (select c, zextload1, zextload2) If extload is legal, following transform (zext (select c, load1, load2)) -> (select c, zextload1, zextload2) can save one ext instruction. Differential Revision: https://reviews.llvm.org/D95086 GitOrigin-RevId: 66f2d09ebf8d81d019a5524cdc5e7f88acbb7504