llvm-project
4ddf664c - [mlir][ABI] Fix scalable vector mapping in ABITypeMapper (#206617)

Commit
2 days ago
[mlir][ABI] Fix scalable vector mapping in ABITypeMapper (#206617) mapVectorType in ABITypeMapper incorrectly used ElementCount::getFixed for all vector types, including scalable ones (e.g. vector<[4]xf32>). This results in scalable vectors being mapped as fixed-size vectors, which produces incorrect ABI lowering for SVE and RISC-V V targets.
Author
Parents
Loading