[VectorCombine] Do not try to operate on OperandBundles. (#111635)
commit8cb7d8a70d81f836a5e4d1f1a8be4989ac8d2671
authorDavid Green <david.green@arm.com>
Wed, 9 Oct 2024 15:20:03 +0000 (9 16:20 +0100)
committerTobias Hieta <tobias@hieta.se>
Tue, 15 Oct 2024 06:53:11 +0000 (15 08:53 +0200)
treec65610bca6d0ac8c07ee444de7de804cf96a1162
parentdedbdfb70daf06fc07bb4dfbec1d18af8fcef28f
[VectorCombine] Do not try to operate on OperandBundles. (#111635)

This bails out if we see an intrinsic with an operand bundle on it, to
make sure we don't process the bundles incorrectly.

Fixes #110382.

(cherry picked from commit c136d3237a3c6230cfe1ab3f0f6790f903c54a27)
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll