commit | 6ee3582153ea6cefd439e3437e04bbdc3217c509 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Mon Mar 05 22:46:48 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Mon Mar 05 22:46:48 2018 +0000 |
tree | efa4a88fceb6a6aa44308223bfa09660c18ac461 | |
parent | a55b77d1b557b889b6d7cb484f01755bd20450bb [diff] |
[InstSimplify] remove redundant folds The 'hasOneUse' check is a giveaway that something's not right. We never need to check that in InstSimplify because we don't create new instructions here. These are all handled as icmp simplifies which then trigger existing select simplifies, so there's no need to duplicate a composite fold of the two. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326750 91177308-0d34-0410-b5e6-96231b3b80d8