mGCA: Support directly represented negated literals

This commit is contained in:
khyperia 2026-02-06 14:04:55 +01:00
parent 8bccf1224d
commit 54a9be469a
11 changed files with 70 additions and 19 deletions

View file

@ -1444,7 +1444,7 @@ impl<'a, 'tcx> EncodeContext<'a, 'tcx> {
| hir::ConstArgKind::TupleCall(..)
| hir::ConstArgKind::Tup(..)
| hir::ConstArgKind::Path(..)
| hir::ConstArgKind::Literal(..)
| hir::ConstArgKind::Literal { .. }
| hir::ConstArgKind::Infer(..) => true,
hir::ConstArgKind::Anon(..) => false,
},