commit | f8b1a5ea9602bb65a5cf59d3d34f2851a08cdc3e | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Wed Dec 15 11:02:22 2010 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Wed Dec 15 11:02:22 2010 +0000 |
tree | 84b2278fe9881c470e4caacd102f786ab0952be0 | |
parent | 26e097ca4bdb31000655ff9ec39fe7d9b7ea226d [diff] |
If we detect that the instruction we are simplifying is unreachable, arrange for it to be replaced by undef rather than not replaced at all, the idea being that this may reduce the amount of work done by whoever called InstructionSimplify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121860 91177308-0d34-0410-b5e6-96231b3b80d8