commit | 4a82af23083172602b1441dcd2f7daea424544f9 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Thu Sep 15 17:01:17 2016 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Oct 08 07:55:33 2020 -0700 |
tree | 556ed0973cce04360b623622b4f4bf2a84b184b8 | |
parent | 059185e36115f8d4706caf2513562510ff501cb9 [diff] |
[InstCombine] remove duplicated fold ; NFCI This pattern is matched in foldICmpBinOpEqualityWithConstant() and already works with vectors too. I changed some comments over there to point out the current location. The tests for this transform are currently in 'sub.ll'. Note that the remaining folds in this block all require a sub too, so they should get grouped with the other icmp(sub) patterns. llvm-svn: 281627 GitOrigin-RevId: 362ff5c0a531987f98074b49ef3eb7387c3f1186