llvm-project
96eb412a - [AArch64][llvm] Improve diagnostics for invalid operands (#230436)

Commit
7 days ago
[AArch64][llvm] Improve diagnostics for invalid operands (#230436) Return `DiagnosticPredicate` from `isSImm()`, `isImmInRange()`, and `isUImm12Offset()` so invalid operand types do not produce misleading immediate range errors, while out-of-range constants retain their range diagnostics. Keep the load/store fallback predicate boolean and remove the CFLT-specific diagnostic workaround. Update affected diagnostic tests and add prefetch and CFLT regression testcases.
Author
Parents
Loading