llvm-project
3a019ce9 - [AArch64] Validate fixed-point SCVTF/UCVTF scale operands (#213490)

Commit
50 days ago
[AArch64] Validate fixed-point SCVTF/UCVTF scale operands (#213490) The fixed-point SCVTF/UCVTF operands are missing the ParserMatchClass used by fixedpoint_i32/i64. Symbolic scales can therefore reach the encoder and hit its MO.isImm() assertion, while out-of-range scales can alias valid encodings. Use Imm1_32Operand and Imm1_64Operand for these operands and add diagnostics for both source widths and symbolic scales. Addresses the scvtf/ucvtf part of #185358. The ext case is tracked by #185361.
Author
Parents
Loading