Whilst trying to compile this test to assembly:
CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
I discovered some warnings were firing in InstCombiner::visitBitCast
due to calls to getNumElements() for scalable vector types. These
calls only really made sense for fixed width vectors so I have fixed
up the code appropriately.
Probably should just be if (auto *DestVTy = dyn_cast<FixedVectorType>(DestTy)) {. A bitcast with a scalable vector dest type must have a scalable vector src type, anyway.