commit | f88b709c4a5ec942f5112e3ca107d4b049273685 | [log] [tgz] |
---|---|---|
author | Serguei Katkov <serguei.katkov@azul.com> | Mon Jun 04 02:52:36 2018 +0000 |
committer | Serguei Katkov <serguei.katkov@azul.com> | Mon Jun 04 02:52:36 2018 +0000 |
tree | c4f9bfd8eb2cca030f549ff265d2fa9bb5ba5bc5 | |
parent | f66cfed61f1c7d664963b304bfa6cd5759b47381 [diff] |
[InstCombine] Fix div handling When we optimize select basing on fact that div by 0 is undef we should not traverse the instruction which are not guaranteed to transfer execution to next instruction. Guard intrinsic is an example. Reviewers: spatel, craig.topper Reviewed By: spatel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D47576 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333864 91177308-0d34-0410-b5e6-96231b3b80d8