diff options
| author | Nikita Popov <npopov@redhat.com> | 2022-09-21 11:57:49 +0200 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-09-22 10:45:42 +0200 |
| commit | 41dde5d858cdfcddbd83dd6e17dc30594d47f2bd (patch) | |
| tree | c3f2444154c8f4941d724ac01006d240ae0abc56 /llvm/unittests/Support/TargetParserTest.cpp | |
| parent | 9029ed2e4b2fda3b4c138eefeed686234e163495 (diff) | |
| download | llvm-41dde5d858cdfcddbd83dd6e17dc30594d47f2bd.zip llvm-41dde5d858cdfcddbd83dd6e17dc30594d47f2bd.tar.gz llvm-41dde5d858cdfcddbd83dd6e17dc30594d47f2bd.tar.bz2 | |
[InstSimplify] Support vectors in simplifyWithOpReplaced()
We can handle vectors inside simplifyWithOpReplaced(), as long as
cross-lane operations are excluded. The equality can hold (or not
hold) for each vector lane independently, so we shouldn't use the
replacement value from other lanes.
I believe the only operations relevant here are shufflevector (where
all previous bugs were seen) and calls (which might use shuffle-like
intrinsics and would require more careful classification).
Differential Revision: https://reviews.llvm.org/D134348
Diffstat (limited to 'llvm/unittests/Support/TargetParserTest.cpp')
0 files changed, 0 insertions, 0 deletions
