This commit is contained in:
bjorn3
2019-09-28 16:43:00 +02:00
committed by Dan Gohman
parent c274d81b5b
commit bb8fa40ef0
49 changed files with 62 additions and 62 deletions

View File

@@ -5,9 +5,9 @@ use crate::dominator_tree::DominatorTree;
use crate::ir::{Function, Inst, InstructionData, Opcode, Type};
use crate::scoped_hash_map::ScopedHashMap;
use crate::timing;
use alloc::vec::Vec;
use core::cell::{Ref, RefCell};
use core::hash::{Hash, Hasher};
use alloc::vec::Vec;
/// Test whether the given opcode is unsafe to even consider for GVN.
fn trivially_unsafe_for_gvn(opcode: Opcode) -> bool {