1
Fork 0

Add global value numbering pass.

This commit is contained in:
Camille GILLOT 2023-03-20 18:05:07 +00:00
parent 551c7183f8
commit 8b848af325
33 changed files with 6476 additions and 26 deletions

View file

@ -1333,7 +1333,7 @@ pub enum AggregateKind<'tcx> {
Generator(DefId, GenericArgsRef<'tcx>, hir::Movability),
}
#[derive(Clone, Debug, PartialEq, Eq, TyEncodable, TyDecodable, Hash, HashStable)]
#[derive(Copy, Clone, Debug, PartialEq, Eq, TyEncodable, TyDecodable, Hash, HashStable)]
pub enum NullOp<'tcx> {
/// Returns the size of a value of that type
SizeOf,