commit | 6fb1357c35b51c78d8fa0fa6db0e10a0436bb750 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Tue Jan 09 18:56:03 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Tue Jan 09 18:56:03 2018 +0000 |
tree | 0a17d6214ec15fff3b22045669d06b9a296cffa4 | |
parent | ba22da0da3f012d7864bafb2de83572ec4362865 [diff] |
[InstCombine] weaken assertions for icmp folds (PR35846) Because of potential UB (known bits conflicts with an llvm.assume), we have to check rather than assert here because InstSimplify doesn't kill the compare: https://bugs.llvm.org/show_bug.cgi?id=35846 llvm-svn: 322104