[InstCombine] add tests for diff-of-squares; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 17 Jan 2023 20:21:14 +0000 (15:21 -0500)
committerSanjay Patel <spatel@rotateright.com>
Wed, 18 Jan 2023 13:13:37 +0000 (08:13 -0500)
commitf81151edbfa3d65acb9f84d6ef214da60495556a
tree6dbb7dbe508ccc1c9a98e3ec77b44560c9510e30
parentc2ab7e2abd834d4ef7b0f27709d9f7fce3140eb3
[InstCombine] add tests for diff-of-squares; NFC

Ideally, these negative tests would have been added
before 68c197f07eea to make sure the specific
operand matching is working as expected, but I did
not remember to include them.
llvm/test/Transforms/InstCombine/sub.ll