diff options
| author | Serguei Katkov <serguei.katkov@azul.com> | 2018-06-04 02:52:36 +0000 |
|---|---|---|
| committer | Serguei Katkov <serguei.katkov@azul.com> | 2018-06-04 02:52:36 +0000 |
| commit | d894fb4288f1739a17a51d8334f578f321f98206 (patch) | |
| tree | da55886888aafc90eff86f197ec0440fce76e59e /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
| parent | 23d66ae1e4866db2f009ef7f9781174f9eebdfd1 (diff) | |
| download | bcm5719-llvm-d894fb4288f1739a17a51d8334f578f321f98206.tar.gz bcm5719-llvm-d894fb4288f1739a17a51d8334f578f321f98206.zip | |
[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
llvm-svn: 333864
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions

