[CVP] Fix tests for clamp patterns (NFC)
authorNikita Popov <nikita.ppv@gmail.com>
Sat, 6 Mar 2021 09:12:17 +0000 (10:12 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 6 Mar 2021 09:24:44 +0000 (10:24 +0100)
commit019ae8220f79f1e66e2442941ab0f5958add4d2a
tree520067984c3a02e15a3fd1d14aa92549935b69ef
parent99682bc039dfec3e30e6e2b97b4b663f412e0d71
[CVP] Fix tests for clamp patterns (NFC)

These tests didn't test the pattern they were supposed to, because
%a instead of %add was used in the select, which turned this into
a normal min/max).

Noticed this when commenting out the clamp handling code did not
result in any test failures...
llvm/test/Transforms/CorrelatedValuePropagation/basic.ll