[mlir][LLVMIR] Use isScalableVectorType in ShuffleVectorOp::parse
authorMin-Yih Hsu <minyihh@uci.edu>
Mon, 23 May 2022 20:30:32 +0000 (13:30 -0700)
committerMin-Yih Hsu <minyihh@uci.edu>
Wed, 15 Jun 2022 21:33:48 +0000 (14:33 -0700)
commit719e24d39fad43e5d1f692ff72c1a2a40687b297
treeb67bd6481dcf76179922aec527f72f51e89d564f
parentdcdd5d312f29356fc4329e4c2a9856db870ad617
[mlir][LLVMIR] Use isScalableVectorType in ShuffleVectorOp::parse

Instead of casting the incoming operand into VectorType to check if it's
scalable or not.
This is the place I missed to fix in f088b99eac74.

Differential Revision: https://reviews.llvm.org/D127535
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/test/Dialect/LLVMIR/roundtrip.mlir